powerpoint

Powerpoint VBA Macro Save As Dialog File Filter

*爱你&永不变心* 提交于 2019-12-11 01:59:44
问题 I want to export a PPT presentation to an .html file. Therefore I have the VBA code Sub HTMLExport() ActivePresentation.SaveAs "C\Users\test\pptInHtml.htm", ppSaveAsHTML, msoFalse End Sub This works, but I need the code for a "Save As Dialog Box", where the user can choose the path where the file will be saved as html (the user can only pick "save as html", nothing else). This is the code for my SaveAsDialog Sub ShowSaveAsDialog() Dim dlgSaveAs As FileDialog Set dlgSaveAs = Application

Copy to clipboard limitation

寵の児 提交于 2019-12-11 01:36:31
问题 As many other question about this topic, I still didn't find something that could avoid my issue. I'd like to know what are the limitations of the clipboard in term of copy paste processing in time and restrict its copy paste functionality for specific usage and program ID. Because, I've been developping a software for my company that takes a template in Word/Excel and PowerPoint to make auto generated reports by replacing the picture every day and pasting the new graph and the picture which

why does my vba code see comma as new line?

[亡魂溺海] 提交于 2019-12-11 01:33:16
问题 I have this code that reads from text file, when line starts with "Q" its a question and "R" and "W" are wrong and right answers respectively that are read unto shapes. However the problem is, if there is a comma anywhere in the text, my powerpoint macro sees it as a new line. any help on how to fix this please? Here is the code Open ActivePresentation.Path & "\" & "questions.txt" For Input As #1 nextSlideNum = 1 nextAnswerNum = 1 Do Until EOF(1) Input #1, nextLine If Left$(nextLine, 1) = "Q"

progress through powerpoint with macros not working on second slide

女生的网名这么多〃 提交于 2019-12-11 01:30:03
问题 I'm trying to create a macro which will run through slides in a powerpoint presentation. I had it working, but now it has stopped working and I don't know why. The vbscript to run through the slides and animation are Private Sub PPTEvent_SlideShowNextBuild(ByVal Wn As SlideShowWindow) Sleep 1000 SendKeys "{RIGHT}" End Sub Private Sub PPTEvent_SlideShowNextSlide(ByVal Wn As SlideShowWindow) Sleep 1000 SendKeys "{RIGHT}" End Sub Is there a better way to accomplish this? I can't see where the

Find and Highlight Text in MS PowerPoint

喜夏-厌秋 提交于 2019-12-11 01:17:59
问题 I used some code from this site to make a macro to do a keyword search on Word docs and highlight the results. I would like to replicate the effect in PowerPoint. Here is my code for Word. Sub HighlightKeywords() Dim range As range Dim i As Long Dim TargetList TargetList = Array("keyword", "second", "third", "etc") ' array of terms to search for For i = 0 To UBound(TargetList) ' for the length of the array Set range = ActiveDocument.range With range.Find ' find text withing the range "active

Powerpoint 2010 Multiple Instances

不问归期 提交于 2019-12-11 00:49:54
问题 I have seen numerous posts on this subject here, but none seem to answer this issue directly. I want to control two instances of Powerpoint running on a second monitor. The ideal solution looks like this: PowerPoint.Application PPTViewer1 = new PowerPoint.Application(); PowerPoint.Application PPTViewer2 = new PowerPoint.Application(); I can do this manually, simply by starting two instances of PowerPoint, loading the presentation, and starting the slide show from each instance. I can toggle

Powerpoint 2010 VSTO AddIn taskpane on multiple Windows

≯℡__Kan透↙ 提交于 2019-12-11 00:36:36
问题 I would like have a taskpane displayed on each document-windows, I have read all MSDN articles about it, but it doesn't work. I click on ToggleButton1 when 3 or 4 document are open, and i get 3 or 4 TaskPanes, but on same document window. Edit : I think i don't have correctly explain the problem, sorry. New try : I click on ToggleButton1 on Presentation 1 window when 3 or 4 document are open, and i get 3 or 4 TaskPanes inside Prestation 1 window, windows from other presentation are empty.

C# VSTO-Powerpoint-TaskPanes in separate windows.

孤人 提交于 2019-12-11 00:14:34
问题 I'm creating a VSTO for my company, and have ran across a interesting issue that I could use some help with. I will try to explain this to the best of my ability. I have the AddIn set up right now for it to create 2 customTaskPanes upon start up via Application.AfterNewPresentation events. And the ability to hide/show these based on user input from togglebuttons on the Ribbon. Now when I fire up the first PowerPoint 2010 called "Presentation1" everything works great, I can show/hide the

How to use an intent to open a ppt with DataViz's Documents To Go

一笑奈何 提交于 2019-12-11 00:14:28
问题 I have an Android app that among other things is able to download documents. I would like to offer the ability to open these documents with other apps like DataViz's Documents To Go viewer apps. I've looked at quite a bit of code and searched through the other questions on here and I think I'm just not doing something quite right. For example, let's pretend I'm downloading a ppt. This bit of code is supposed to verify that the document type is supported by an app before downloading the

disablinging autorecover option for powepoint

我只是一个虾纸丫 提交于 2019-12-10 23:33:50
问题 I am not able to find the correct property/method to disable the auto recover option for powerpoint. For Excel and word its as below For excel this will do it $wb.EnableAutoRecover = $False and for word $word.Options.SaveInterval = 0 Any idea what I need to do for powerpoint? There is an 'Option's read only property. 回答1: Most of PowerPoint's Options settings are stored in the registry, usually: HKCU\Software\Microsoft\Office\xx.0\PowerPoint\Options You can leave this open in Regedit, change