Macros/VBA Project Modules and Creating Add-Ins on the Toolbar Using PowerPoint 2010 By Linda...
-
Upload
kelvin-prestwood -
Category
Documents
-
view
214 -
download
0
Transcript of Macros/VBA Project Modules and Creating Add-Ins on the Toolbar Using PowerPoint 2010 By Linda...
![Page 1: Macros/VBA Project Modules and Creating Add-Ins on the Toolbar Using PowerPoint 2010 By Linda Carrillo, SPSSOD Technical Liaison 09/26/12.](https://reader038.fdocuments.in/reader038/viewer/2022110319/56649c6f5503460f9492191f/html5/thumbnails/1.jpg)
Macros/VBA Project Modules and
Creating Add-Ins on the Toolbar
Using PowerPoint 2010By Linda Carrillo, SPSSOD Technical Liaison
09/26/12
![Page 2: Macros/VBA Project Modules and Creating Add-Ins on the Toolbar Using PowerPoint 2010 By Linda Carrillo, SPSSOD Technical Liaison 09/26/12.](https://reader038.fdocuments.in/reader038/viewer/2022110319/56649c6f5503460f9492191f/html5/thumbnails/2.jpg)
Changing Macro Security
• First open a new PPT(X) and change the Macro security: File>Options>Trust Center>Trust Center Settings>Check Trust Access>OK>OK
![Page 3: Macros/VBA Project Modules and Creating Add-Ins on the Toolbar Using PowerPoint 2010 By Linda Carrillo, SPSSOD Technical Liaison 09/26/12.](https://reader038.fdocuments.in/reader038/viewer/2022110319/56649c6f5503460f9492191f/html5/thumbnails/3.jpg)
Save the VBA code
• Put the VBA code (with auto open) in a text file and save it. This will take out any spaces and you can copy and paste with ease.
![Page 4: Macros/VBA Project Modules and Creating Add-Ins on the Toolbar Using PowerPoint 2010 By Linda Carrillo, SPSSOD Technical Liaison 09/26/12.](https://reader038.fdocuments.in/reader038/viewer/2022110319/56649c6f5503460f9492191f/html5/thumbnails/4.jpg)
Getting to Macros VBA Project Modules
• Select Alt+F11>Insert Tab>Module
![Page 5: Macros/VBA Project Modules and Creating Add-Ins on the Toolbar Using PowerPoint 2010 By Linda Carrillo, SPSSOD Technical Liaison 09/26/12.](https://reader038.fdocuments.in/reader038/viewer/2022110319/56649c6f5503460f9492191f/html5/thumbnails/5.jpg)
Insert the VBA Code and Debug it.
• Paste VBA Code> Debug> Compile VBA Project>
![Page 6: Macros/VBA Project Modules and Creating Add-Ins on the Toolbar Using PowerPoint 2010 By Linda Carrillo, SPSSOD Technical Liaison 09/26/12.](https://reader038.fdocuments.in/reader038/viewer/2022110319/56649c6f5503460f9492191f/html5/thumbnails/6.jpg)
Yes – to Macro Free Presentation
• File>Save PPT(X)• You might get a Save File as a Macro-free
presentation window. Just answer Yes.
• File>Save PPAM
![Page 7: Macros/VBA Project Modules and Creating Add-Ins on the Toolbar Using PowerPoint 2010 By Linda Carrillo, SPSSOD Technical Liaison 09/26/12.](https://reader038.fdocuments.in/reader038/viewer/2022110319/56649c6f5503460f9492191f/html5/thumbnails/7.jpg)
Show Hidden Files
• If you don’t already have hidden files turned off do so: My Computer> Tools> Folder Options> View> check show hidden files, folders, and drives> OK
• Remember to switch it back when you are done.
![Page 8: Macros/VBA Project Modules and Creating Add-Ins on the Toolbar Using PowerPoint 2010 By Linda Carrillo, SPSSOD Technical Liaison 09/26/12.](https://reader038.fdocuments.in/reader038/viewer/2022110319/56649c6f5503460f9492191f/html5/thumbnails/8.jpg)
Move the PPAM
• Move PPAM to trusted location: C drive> users> username> AppData> Roaming> Microsoft> AddIns
![Page 9: Macros/VBA Project Modules and Creating Add-Ins on the Toolbar Using PowerPoint 2010 By Linda Carrillo, SPSSOD Technical Liaison 09/26/12.](https://reader038.fdocuments.in/reader038/viewer/2022110319/56649c6f5503460f9492191f/html5/thumbnails/9.jpg)
• File> Options> AddIns> under Manage select PowerPoint Add-in> GO
![Page 10: Macros/VBA Project Modules and Creating Add-Ins on the Toolbar Using PowerPoint 2010 By Linda Carrillo, SPSSOD Technical Liaison 09/26/12.](https://reader038.fdocuments.in/reader038/viewer/2022110319/56649c6f5503460f9492191f/html5/thumbnails/10.jpg)
• Select Add New and see that the PPAM is checked> Close.
![Page 11: Macros/VBA Project Modules and Creating Add-Ins on the Toolbar Using PowerPoint 2010 By Linda Carrillo, SPSSOD Technical Liaison 09/26/12.](https://reader038.fdocuments.in/reader038/viewer/2022110319/56649c6f5503460f9492191f/html5/thumbnails/11.jpg)
New Add-In Tab
• Select the new Add-Ins Tab in PPT(X) and select the new button you just created.
![Page 12: Macros/VBA Project Modules and Creating Add-Ins on the Toolbar Using PowerPoint 2010 By Linda Carrillo, SPSSOD Technical Liaison 09/26/12.](https://reader038.fdocuments.in/reader038/viewer/2022110319/56649c6f5503460f9492191f/html5/thumbnails/12.jpg)
Output File Name
• Give the Output file a name>OK• (Example: ElijaNotes092612)
![Page 13: Macros/VBA Project Modules and Creating Add-Ins on the Toolbar Using PowerPoint 2010 By Linda Carrillo, SPSSOD Technical Liaison 09/26/12.](https://reader038.fdocuments.in/reader038/viewer/2022110319/56649c6f5503460f9492191f/html5/thumbnails/13.jpg)
• If you get a message that says your Macro Security needs to change, most likely your code has an error and you’ll need to start over.
![Page 14: Macros/VBA Project Modules and Creating Add-Ins on the Toolbar Using PowerPoint 2010 By Linda Carrillo, SPSSOD Technical Liaison 09/26/12.](https://reader038.fdocuments.in/reader038/viewer/2022110319/56649c6f5503460f9492191f/html5/thumbnails/14.jpg)
• If you get a message that says it Couldn’t create the file, most likely you needed to save the ppt(x) and try again.
![Page 15: Macros/VBA Project Modules and Creating Add-Ins on the Toolbar Using PowerPoint 2010 By Linda Carrillo, SPSSOD Technical Liaison 09/26/12.](https://reader038.fdocuments.in/reader038/viewer/2022110319/56649c6f5503460f9492191f/html5/thumbnails/15.jpg)
Save the TXT
• It generates a txt file, save it, and print it.• Or you can copy and paste the content to a word
document to format differently.
![Page 16: Macros/VBA Project Modules and Creating Add-Ins on the Toolbar Using PowerPoint 2010 By Linda Carrillo, SPSSOD Technical Liaison 09/26/12.](https://reader038.fdocuments.in/reader038/viewer/2022110319/56649c6f5503460f9492191f/html5/thumbnails/16.jpg)
Enable Macros Windows
• You might get a enable window when trying to work with old PPT(X)’s. Answer Yes. You will only have to do it once with each old PPT(X).
![Page 17: Macros/VBA Project Modules and Creating Add-Ins on the Toolbar Using PowerPoint 2010 By Linda Carrillo, SPSSOD Technical Liaison 09/26/12.](https://reader038.fdocuments.in/reader038/viewer/2022110319/56649c6f5503460f9492191f/html5/thumbnails/17.jpg)
DO NOT DELETE the PPT(X)
• What ever you do, do NOT delete the PPT(X) with the VBA project module attached. Put it someplace in a folder titled DO NOT DELETE. If you delete this PPT(X) the Add-in will not work for future presentations.