In the process of making PowerPoint courseware, a courseware often contains multiple slides, and for the sake of the beauty of the courseware, a different picture is inserted into the background in almost every slide. The same insert background image operation repeated n times, it is too tiring. In fact, you can do this quickly by "macros".
Create a new folder named "Background" in any location on your hard disk (such as the F-packing directory). Then copy the background picture that needs to be inserted into the PPT courseware to the folder and rename all the background pictures, the format of the picture file name is "1.jpg", "2.jpg", "3". JPG "...
Start PowerPoint 2003/2007, click the tools → macros →visual Basic Editor command, open the Visual Basic Editor window, right-click the VBAProject on the left side of the window, and select the Insert → module command. Insert a code module and then enter the code in the Right Code window (code can be downloaded in www.shudoo.com/bzsoft), close the Visual Basic Editor window, and the module code entered on the top will be saved automatically, and then click the "file → save" command on the menu. Save the PPT presentation to the "F:background" directory with the file name "BULK Insert background picture. ppt".
Tip: In the code we provide, ". Background.Fill.UserPicture "F:background" & I & ". jpg" means that the background picture inserted into the slide is saved in the "F:background" directory, and the background picture is formatted as JPG, if there are different , please change it yourself.
Then click the menu "tools → customize" command, open the Customize dialog box and switch to the Commands tab, and then select the Macros option in the list box under Categories, where the macro that we just added appears in the list box below command (figure).
In the diagram interface, drag the Charupic macro in the list box under commands to any location in the toolbar. After releasing the mouse, a button named "Charupic" appears on the toolbar, right-clicking the button, and changing the name of the button to "Bulk insert background picture" in the right-click menu that appears. , select your favorite picture as the background of the button in the Change Button Image submenu, and finally close the Customize dialog box.
You only need to click the "Bulk Insert background picture" button on the toolbar, wait a moment, all the slides in the PPT courseware will automatically complete the insertion of the background image.
Tip: If you click the Bulk Insert Background picture button on the toolbar to not complete the insert work for the slide background picture, you can click the menu tools → macros → security command to open the Security dialog box and switch to the Security Level tab to set the security level to medium.