powerpoint

powerpoint run macro every time presentation hits first slide

两盒软妹~` 提交于 2019-12-25 04:26:04
问题 I am have a macro running in my powerpoint presentation (2007) to update all of the linked excel data. The macro works perfectly if I run it manually but I am trying to set it to run automatically every time the presentation gets back to the first slide. I put the following code together after looking through a few similar questions here but it doesn't seem to work. Nothing happens when I hit slide 1. Sub OnSlideShowPageChange(ByVal SSW As SlideShowWindow) If SSW.View.CurrentShowPosition = 1

How to create and format various charts in powerpoint based on excel data?

╄→尐↘猪︶ㄣ 提交于 2019-12-25 03:32:35
问题 I have been trying to find a solution, be it a macro or a simple solution, to create and format charts in a powerpoint presentation. So far I could not find anything that would solve my issue. The idea is to source data from a fairly big excel file and then create several charts on several powerpoint slides. That is, one big excel file and 10 powerpoint slides, with 8 individual charts on each slide. I tried this: http://mahipalreddy.com/vba.htm#ppgraph, but that did not help at all. How can

Developing a custom ribbon add-in for PowerPoint (Office 365) Mac

北城余情 提交于 2019-12-25 01:29:42
问题 I have recently switched to Mac from my Windows work laptop where I had some nice features installed via PowerPoint add-ins that I would like to replicate. I have all my macros working, and I am now trying to turn them into a working add-in that I can load on my machine. Now, before we get to the tricky part of signing the add-in and bla bla bla.. I am starting really simple (pptm file with custom toolbar). I have followed ron de bruin's amazing guide. However, when I launch my presentation

Disable PowerPoint features using C#

邮差的信 提交于 2019-12-24 23:50:13
问题 My scenario: I have a requirement in my project(C#).I need to give the user only reading capability for my powerpoint presentation opened thru my application.All other featues like cut,copy,paste,save,saveas,print,right click context menus should be disabled.How can i achieve this in powerpoint programatically using c#? can anyone extend their help? 回答1: Just export each slide as a JPG or PNG and display those: Slide.Export. This would be for static slide views. If you want to retain

Powerpoint: Copying individual slides into new powerpoint files

不羁的心 提交于 2019-12-24 22:35:34
问题 I want to save each slide in a powerpoint-file into seperate powerpoint-files, as well as store png images of each slide. In the end I want to create an archive of individual unique slides, so that all slides that are shown on some info screens are stored in this archive. This is what I have to far: function exportSingleSlides(pathname, filename){ var app = new ActiveXObject("PowerPoint.Application"); app.Visible = true; // Open the presentation var presentation = app.Presentations.Open

Extract excel graph to powerpoint template

北慕城南 提交于 2019-12-24 21:28:43
问题 I have an Excel sheet in which I can select a city (100 different ones) and then a graph will be generated for that city. I would like to create a PPT with 100 different slides, one for each city. For these slides I have a template, so what I would like to achieve is: - Loop through all 100 cities - Copy the generated graph and paste as image at a specified location and size in the PPT slide Does anyone have an idea on how to do this with either VBA or Python? Many thanks! 回答1: To copy and

Powerpoint Add-In - saveAsync does not save settings when called outside of Office.initialize

别等时光非礼了梦想. 提交于 2019-12-24 18:55:31
问题 I'm developing a content add-in for PowerPoint and I'm trying to persist its state when the user reloads the presentation using the Office.context.document.settings functions ( get , set , remove and saveAsync ). However, it appears that saveAsync calls made outside of the Office.initialize function do not actually save the current settings, as upon reloading of the presentation, only the settings saved during the initialization are persisted. For demonstration, here is a minimal example of a

VBA Macro to Copy Range and Paste range to PPT as Picture

折月煮酒 提交于 2019-12-24 18:09:56
问题 Need help to copy range of cells from excel sheet1 to PowerPoint file and paste it as Picture and make that picture fit inside the slide automatically. I currently use Snagit software to take screenshot of the sheet and use send to powerpoint but it take lots of time. Any feedback would be nice to automate this process 回答1: something like this Sub BetterPicturePaste() '...other stuff... Windows(1).Sheets(1).Range("myrange").Copy Windows(2).View.PasteSpecial DataType:=ppPasteEnhancedMetafile

How to generate thumbnail image for a PPTX file in C#?

為{幸葍}努か 提交于 2019-12-24 17:43:24
问题 Is there any way to use the OpenXML library to automatically create a thumbnail image for a PPTX file? I am building a small C# ASP.NET web application that is used to build PPTX files from a library of PPTX files. One of the requirements is to show a thumbnail image for each PPTX file in the library. I would like to automate this as the people that will be using the system don't know how to create screen shots. 回答1: Pptx file already have it, unziping the file you can find id. ;) 回答2: There

Reading text values in a PowerPoint table using pptx?

喜夏-厌秋 提交于 2019-12-24 14:27:06
问题 Using the pptx module, tbl.cell(3,3).text is a writable, but not a readable attribute. Is there a way to just read the text in a PowerPoint table? I'm trying to avoid COM and pptx is a great module, but lacks this particular feature. Thanks! 回答1: At present, you'll need to go a level deeper to get text out of a cell using python-pptx. The cell.text 'getter' is on the roadmap. Something like this should get it done: cell = tbl.cell(3, 3) paragraphs = cell.textframe.paragraphs for paragraph in