Unless otherwise specified, the macros below work in PowerPoint 2002
MS PowerPoint macro for calculating the total number of characters including spaces in a PowerPoint presentationWhat the macro doesThis macro calculates the total number of characters including spaces in the MS PowerPoint document that you need to translate and works out the cost of a translation and the time required to translate the document (based on 6000 characters in 8 h: these values may be changed to reflect your own personal output). How to set up the macroNOTE: Unlike MS Word, PowerPoint does not have a normal.dot into which you can save this macro to access the macro every time you open Powerpoint. Therefore you need to create a PowerPoint Add-In as described below: IMPORTANT: For this macro to work, you need to set your security level in Powerpoint to Medium (recommended) or Low first. To do so, in Powerpoint select Tools/Macros/Security and unde Security Level select Medium or Low. Close down Powerpoint. When you open this document (from within PowerPoint, with File/Open ...), you will be asked whether you wish to enable the macros in the document: Reply Yes. To install the macro, use either of the two following techniques:
A) Save this file =>
powerpoint_macros.ppt
(by right-clicking on the link) to your hard disk and
jump to point 10 below
or 1. Start PowerPoint and create a blank presentation by clicking on the white-sheet icon at the top left of your screen. 2. On the Tools menu, select Macro and then Macros. 3. The Macro dialog box will open. Type the name "QuotePowerpoint" for the macro in the "Macro name:" field. 4. Click the Create button. 5. A window entitled "Microsoft Visual Basic" will open. In the window that appears, find the line of text that reads: Macro created [Today’s Date] by [Your Name]. The cursor should be blinking just before "End Sub". 6. Select and copy the text of the macro shown below by left-clicking at the beginning (including the initial apostrophe) and dragging your mouse down across the text. Make sure that you get it all, right up to the end, and that you copy only the material that appears between the lines of asterisks; DO NOT copy extra blank lines or the asterisks themselves. **********cut here (do not include this line) ********** ' Check to see whether a presentation is
open. **********cut here (do not include this line) ********** NOTE: the text above marked in
red may
be changed to suit your specific needs. 7. Paste the macro lines that you copied in step 6 into the Visual Basic window at the spot where the input cursor is blinking. 8. Close the whole Visual Basic window (File/Close). Your macro is now installed in your blank presentation. 9. Save your blank presentation to your hard disk somewhere, calling it for example "powerpoint_macros.ppt", but do not close it yet. 10. Now create the ppa file (PowerPoint add-in)... 11. On the File menu in Powerpoint, click Save As. 12. In the Save As Type list, select PowerPoint Add-In (*.ppa) (Italian: componente aggiuntivo di Powerpoint). 13. In the File Name box, type a name for your add-in (e.g. "powerpoint_macros.ppa"), and then click Save. Typically, PowerPoint add-ins are placed in the c:\Program Files\ Microsoft Office\Office folder. However, you can choose another folder if you want. 14. To load the newly created add-in, in the Tools menu click Add-Ins; Click Add New; In the Add New PowerPoint Add-In dialog box, select the add-in file that you have just created and click OK. In the macro warning message box, click Enable Macros. Your macros will now work every time you open Powerpoint.
How to run the macro1. To run the macro, open a file in Powerpoint,
and in the Tools menu
click on Translation quote in Powerpoint. NOTE: If you move your PowerPoint add-in file (.ppa) to a different location from where you saved it in step 13, you will need to repeat step 14 above. This macro will work as long as your ppa file is in the location specified during step 14. Adding new macros to your PowerPoint add-in
Once you have installed your macro, you will need to add a macro button in your toolbar or in your right-click menu to run the macro.
|
Back / Tools for Translators / Home / Site Map
Web design by Tanya Harvey Ciampi