Macros/VBA Project Modules and Creating Add-Ins on the Toolbar

Slides:



Advertisements
Similar presentations
1 After completing this lesson, you will be able to: Compose, address, and send messages. Format the body of a message. Attach a file to a message. Check.
Advertisements

Document Properties: adding information to your Microsoft Office documents Step 1: Add information to Document Properties What are Document Properties.
or How to make PowerPoint behave like an Interactive Whiteboard.
CREATING A PAYMENT REQUEST FOR A NEW VENDOR
By Zachary Hamer You will need: Another computer or lap top than this one, a flash drive, And the ability to read this PowerPoint.
Creating a Dialog-Based Comet Windows Program Brian Levantine.
Importing Titles in Destiny. 1. Click My Computer or My Documents or your G drive. Save it to whichever drive you wish. 2. Click your G drive if you want.
The INFILE Statement Reading files into SAS from an outside source: A Very Useful Tool!
Stored procedures and views You can see definitions for stored procedures and views in the demo databases but you can’t change them. For views, expand.
Benchmark Series Microsoft Excel 2013 Level 2
 Use the Left and Right arrow keys or the Page Up and Page Down keys to move between the pages. You can also click on the pages to move forward.  To.
Tutorial 7: Developing an Excel Application
Developing an Excel Application
Tutorial 8: Developing an Excel Application
Microsoft Office Excel 2013 Core Microsoft Office Excel 2013 Core Courseware # 3253 Lesson 8: Macros, Importing and Exporting Data.
MACROS CS1100 Computer Science and its Applications CS11001.
With Microsoft Excel 2010 © 2011 Pearson Education, Inc. Publishing as Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Excel 2010.
Save time with templates Create your own templates Say you often use a certain invoice whose basic content stays the same except for certain details that.
Advanced Microsoft Word Hosted by Jared Hoffman Topics Keyboard Shortcuts Customizing Toolbars and Menus Auto Format & Auto Correct Tabs Inserting Pictures.
First-Semester Writing Portfolio at Seton Hall University.
Microsoft Excel 2003 Illustrated Complete Excel and Advanced Worksheet Management Customizing.
Macros in Excel Intro to lab 1. Macroinstructions Macro is recorded in VBA module sequence of Excel operations Macros can automate tasks in Excel Macro.
By Andrew Noske My PowerPoint Macros.
EDITING AND FORMATTING A DOCUMENT Presented by: Dr. Ennis-Cole.
COMPREHENSIVE Excel Tutorial 8 Developing an Excel Application.
Microsoft Office 2007 Word Integration Feature Linking an Excel Worksheet and Chart to a Word Document.
Microsoft ® Office 2007 Training Security II: Turn off the Message Bar and run code safely John Deere presents:
SMART Response Initial Set-up: Windows PC Teacher and Class Set-up Creating a Quiz, Test, or Survey Delivering an Assessment Reports Additional Question.
USING REFWORKS Fall What is RefWorks? A web-based bibliographic and database manager Creighton University faculty, students, and staff have access.
Microsoft Word 2000: Mail Merge Basics Peggy Serfazo Marple Molly Calvello Support Professionals Business Applications - Desktop Microsoft Corporation.
Air Quality System Precision and Accuracy Data Transaction Generator (AQSP&A) Training Session.
Adapting a ready made PowerPoint quiz with VBA
| | Tel: | | Computer Training & Personal Development Microsoft Office PowerPoint 2007 Expert.
© 2008 The McGraw-Hill Companies, Inc. All rights reserved. WORD 2007 M I C R O S O F T ® THE PROFESSIONAL APPROACH S E R I E S Lesson 22 Macros.
1 CA201 Word Application Increasing Efficiency Week # 13 By Tariq Ibn Aziz Dammam Community college.
Lesson No:9 MS-Word Tools, Mail Merge and working with Tables CHBT-01 Basic Micro process & Computer Operation.
Office of Educational Technology School District of Philadelphia Introduction to Sites Google Sites This presentation is available at
Fall 2005 Using FrontPage to Enhance Blackboard - Darek Sady1 Using FrontPage to Enhance Blackboard 1.Introduction 2.Starting FrontPage 3.Creating Documents.
Presentation Companion Slide Pack The slides in this file were specifically designed to be used with the Presentation Companion Add-In. Training-Games.com.
© 2008 The McGraw-Hill Companies, Inc. All rights reserved. M I C R O S O F T ® Integrating with Other Programs Lesson 12.
Working with Windows 2000 What it is: The system inside your computer that enables it to run software Uses icons (pictures) to access and work within programs.
OCC Network Drives  H:\  P:\ 
PowerPoint Minimizer. Content 1.What is a PowerPoint Minimizer? 2.Why using a minimizer? 3.How to use it? 4.Tips on minimizing PowerPoint.
How to Create a Document in Google Drive By Tressa Beckler.
Diagnostic Pathfinder for Instructors. Diagnostic Pathfinder Local File vs. Database Normal operations Expert operations Admin operations.
Click the START button in the bottom left corner of the screen. STEP 1.
Copying Music From a CD Margaret S. Britt. Loading Media Player  Click Start  Select the Windows Media Player.
Click your mouse to continue. The Office Shortcut Bar The Office Shortcut Bar contains program buttons that, when clicked, start new documents or start.
Presentation Companion Slide Pack The slides in this file were specifically designed to be used with the Presentation Companion Add-In. Training-Games.com.
Jeremiah McNichols Partnership for Environmental Education and Rural Health PowerPoint Toolbar Creator Instructions and Foundation.
1 In Microsoft Office 2007, click on the Windows button and select the Excel Options button on the lower right From Excel Options, select Trust Center.
A lesson approach © 2011 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft® Excel 2013.
Designing Your Idiom PPT Presentation. First Steps: Log into your student account. If you are using a laptop, note the number of the laptop you are using.
This poster has been designed to act as a customisable template. You do not have to use this template but it might be a useful starting point. The poster.
PYP002 Intro.to Computer Science Microsoft Word1 Lab 04 - a Microsoft Windows Applications Common Features.
How to Save a Microsoft Document onto a PowerPoint Slide 1. Open Microsoft Office Word and minimize it so you can go to the internet to find your information.
Word 2007 Macros For AQ2000 Quotes: 1) Double-space Fix 2) Save-As PDF.
FILE MANAGEMENT NOTES. ACCESSING FLASH DRIVE  Put Flash Drive in the Computer  Start – Computer– Select it.
Chapter 10 Using Macros, Controls and Visual Basic for Applications (VBA) with Excel Microsoft Excel 2013.
McGraw-Hill/Irwin The Interactive Computing Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft Excel 2002 Using Macros Lesson.
COMPREHENSIVE Excel Tutorial 12 Expanding Excel with Visual Basic for Applications.
Chapter 11 Enhancing an Online Form and Using Macros Microsoft Word 2013.
Excel Tutorial 8 Developing an Excel Application
Microsoft Word 2016 Lesson 1.
Note to trainers The videos in this presentation provide closed-caption files, and they’re on by default because it’s often easier for viewers of all.
IE 8580 Module 4: DIY Monte Carlo Simulation
Chapter 1 Managing Messages with Outlook
SECTION 1: Add-ons to PowerPoint
Macros/VBA Project Modules and Creating Add-Ins on the Toolbar
European Computer Driving Licence
Presentation transcript:

Macros/VBA Project Modules and Creating Add-Ins on the Toolbar Using PowerPoint 2010 By Linda Carrillo, SPSSOD Technical Liaison 09/26/12 Begin Trans – This presentation will go through the steps to create a VBA project module using Macro in Powerpoint 2010. It will also create an Add-In to execute that function with ease.

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 I have selected the Trust access to the VBA project object model, however I’m not sure if that generates an Enable window to appear later or not. Originally I did not have this selected and it worked just fine.

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. The VBA code must have an auto open code so that each time you opened Powerpoint the Add-in will be an option.

Getting to Macros VBA Project Modules Select Alt+F11>Insert Tab>Module There is no need to bring in the Developer Tab Alt-F11 takes you right to the window you need.

Insert the VBA Code and Debug it. Paste VBA Code> Debug> Compile VBA Project> Your code might need some debugging. For some reason mine added an enter in the middle of a line code causing it to fail. Debug> Compile VBA highlights the error and turns it red so you can easily correct it.

Yes – to Macro Free Presentation File>Save PPT(X) You might get a Save File as a Macro-free presentation window. Just answer Yes. This might happen when saving your PPT. File>Save PPAM

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. Most UST computers have some systems files, folders, and drives hidden so the user won’t inadvertently delete them. You will need to show them to move your PPAM to a trusted location.

Move the PPAM Move PPAM to trusted location: C drive> users> username> AppData> Roaming> Microsoft> AddIns

File> Options> AddIns> under Manage select PowerPoint Add-in> GO This step will make the Add-Ins tab appear as an option.

Select Add New and see that the PPAM is checked> Close. This step will make the button you want to execute appear as an option.

New Add-In Tab Select the new Add-Ins Tab in PPT(X) and select the new button you just created. Here you can see the Add-In Tab and the button which executes the VBA project. This one was copied from the internet and the originator selected a little pig #52 as the icon. He also chose to say his name when you hoover over the icon. When I changed the name the code stopped working, so we’ll have to live with it for now.

Output File Name Give the Output file a name>OK (Example: ElijaNotes092612) It’s good to add the date so when you make changes to the presentation you know which Notes you have.

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. This is a very unfortunate message to get. The debugging didn’t catch whatever made it fail and unfortunately you will have to delete all PPT(X)’s and PPAM files and start over looking carefully at the VBA code.

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. Just forgot to save the presentation.

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. Success! It worked! Don’t forget to save it.

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). Unfortunately, we get this message and I’m not sure if selecting the Trust the VBA in the Macro Security settings in the reason. Since it works, I didn’t want to risk changing it and having to start all over. You only have to do it once for each old presentation.

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. The only time you should delete the PPT(X) that has the code is if you got that message that said you need to change your Macro Security, most likely there was something wrong with the VBA code the debugging didn’t catch. Only then will you delete the PPT(X) with the code and all PPAM’s and start over. – End Trans