powerpoint

Is there a way to tell PowerPoint not to open Excel when creating charts?

你说的曾经没有我的故事 提交于 2019-11-28 03:55:50
问题 Slide.Shapes.AddChart() automatically opens Excel. Even if I quickly do Chart.ChartData.Workbook.Application.Visible = false , it still shows a little while. This makes automating chart creation error-prone as the user has to try not to touch the Excel applications that keeps popping up. Opening a presentation with WithWindow = false will still open Excel when creating new charts. 回答1: This behavior is "by design" and Microsoft is not interested in changing. This is the way the UI functions.

How to auto execute a macro when opening a Powerpoint presentation?

故事扮演 提交于 2019-11-28 02:01:36
I have a pretty basic question, but could not find the answer on internet. In Powerpoint 2010, I have a macro that I would like to be executed everytime the Powerpoint document is opened. How to achieve this ? Thanks ! Try to write this function. Sub Auto_Open() MsgBox("welcome") End Sub Replace the msgbox in your code. While Auto_Open doesn't run in a PowerPoint presentation, you can fake it. Add a CustomUI part to the presentation, then use the CustomUI OnLoad callback to run code when the presentation opens. The CustomUI part needs no more than just the CustomUI tags. Get the Custom UI

Embedding HSSF(excel) into HSLF(ppt) using apache poi

天涯浪子 提交于 2019-11-28 01:19:50
I want to embed the excel sheet into presentation(PPT) using apache poi. how can we do this? If anyones knows, please help me. This took me a while to figure out how the parts belong together ... The embedding can be done in two ways: by updating an already embedded worksheet Pro: just call ObjectData.get/setData() and your are done Con: what if you want to have more than one OLE object embedded? or you can embed the elements from scratch (see below) As usual when I try to figure out, how to implement certain POI features, I'm comparing the results with Libre Office files, in this case a few

Embed PowerPoint Viewer in C# Win Form

前提是你 提交于 2019-11-27 22:59:14
Is it possible to Embed a PowerPoint Viewer into a C# Windows Form? I am currently use the following code: objApp = new PowerPoint.Application(); //objApp.Visible = MsoTriState.msoTrue; objPresSet = objApp.Presentations; objPres = objPresSet.Open(ppsAction.FileInfo.FullName, MsoTriState.msoTrue, MsoTriState.msoTrue, MsoTriState.msoFalse); objSlides = objPres.Slides; //Run the Slide show objSSS = objPres.SlideShowSettings; objSSS.ShowType = Microsoft.Office.Interop.PowerPoint.PpSlideShowType.ppShowTypeSpeaker; objSSS.LoopUntilStopped = MsoTriState.msoTrue; objSSS.Run(); WindowWrapper

How to convert ppt to images in Ruby?

六眼飞鱼酱① 提交于 2019-11-27 21:56:27
问题 I'm using Ruby for displaying the contents of powerpoint files in a webpage. I've found solutions using the win32ole but I'm in the linux environment and it doesn't work. I think the application could trigger a openoffice command for conversion. 回答1: I recommend using Docsplit. Install the gem, and then you can do something like: Docsplit.extract_images(filename, :size => '920x', :format => [:png]) 回答2: You can use Rjb and JODConverter to export your powerpoint to flash (or any other format).

How can I programmatically open and save a PowerPoint presentation as HTML/JPEG in C# or Perl?

余生长醉 提交于 2019-11-27 16:31:52
问题 I am looking for a code snippet that does just this, preferably in C# or even Perl. I hope this not a big task ;) 回答1: The following will open C:\presentation1.ppt and save the slides as C:\Presentation1\slide1.jpg etc. If you need to get the interop assembly, it is available under 'Tools' in the Office install program, or you can download it from here (office 2003). You should be able to find the links for other versions from there if you have a newer version of office. using Microsoft

Charts from Excel to PowerPoint with Python

故事扮演 提交于 2019-11-27 15:08:54
问题 I have an excel workbook that is created using an excellent "xlsxwriter" module. In this workbook, there about about 200 embedded charts. I am now trying to export all those charts into several power point presentations. Ideally, I want to preserve the original format and embedded data without linking to external excel work book. I am sure there is a way to do this using VBA. But, I was wondering if there is a way to do this using Python. Is there a way to put xlsxwriter chart objects into

edit chart data in powerpoint

孤人 提交于 2019-11-27 14:53:18
I would like to edit the values of a chart within a powerpoint file. I can't seem to find the appropriate methods like .Range and .Cell anywhere. ActivePresentation.Slides(sl).Shapes(sh).Chart.DataTable does not seem to have all the methods in the conventional DataTable method. Something like this should work: With ActivePresentation.Slides(sl).Shapes(sh).Chart.ChartData .Activate .Workbook.Sheets(1).Range("A1").Value = "test_data" .Workbook.Close End With 来源: https://stackoverflow.com/questions/23526566/edit-chart-data-in-powerpoint

What is the best way to access a serial port from VBA?

亡梦爱人 提交于 2019-11-27 12:56:39
What is the best way to access a serial port from VBA? I have a need for some of our sales reps to be able to send a simple string over the serial port from an action button in PowerPoint. I don't commonly use VBA, especially for anything like this. Normally I would turn it into an application of some sort, but I actually don't think the idea is that bad. It will be a handy tool for them to demo this device with while on a projector and talking to other sales guys and non technical people. Also, this sales guy will have no problem making small modifications to the VBA or PowerPoint

Can PHP read text from a PowerPoint file?

孤街醉人 提交于 2019-11-27 09:21:47
I want to have PHP read an (uploaded) powerpoint presentation, and minimally extract the text from each slide (grabbing more info like images and layouts would even be better, but I would settle for just the text at this point). I know that google apps does it in its presentation app, so I am guessing there is some way to translate the powerpoint binary, but I can't seem to find any info on how to do it. Any ideas on what to try? Thanks - Depending on the version, you can take a look on the Zend Framework as Zend_Search_Lucene is able to index PowerPoint 2007 files. Just take a look at the