PowerPoint快速插入100幅图片
如果你想插入几十张甚至几百张图片,并要求每张幻灯片上插入每张图片,或者你有多少张幻灯片,你怎么做Click in accordance with the commonly used method ldquo; insert rarr picture; rarr; file from ; menu commands, and then a select the picture, or click the ldquo format; rarr; background ; command, will PowerPoint into the picture as a background, it is a waste of time.In this case, the multistep operation can be merged into one step with the help of PowerPoint's powerful macro function, and the pictures can be inserted in batch.
第一步:首先准备好图片,假设在C盘下面的文件夹中的图片有100幅JPG格式图像,如C:pictures2.jpgC:pictures1.jpgC:pictures3.jpg,;,文件名是序数
第二步是启动PowerPoint 2003,按Alt + F11键,打开Visual Basic编辑器窗口中,单击插入菜单命令RARR,模块,输入下面的代码,并在弹出的代码编辑窗口。
Sub InsertPic()
模糊i为整数
我activepresentation.slides.count = 1
activepresentation。幻灯片(我选择)。
与activewindow.selection.sliderange
followmasterbackground = msoFalse。
。background.fill.userpicture C:图片我。JPG
结束
下一个
端子
第三步:关闭Visual Basic编辑器窗口,上面的模块代码会自动保存。此时,空白幻灯片等于图片数(如100)设置连续的Ctrl + M键。按下Alt + F8键打开宏对话框,选择insertpic宏观构建上面,点击运行,然后100将图像插入到幻灯片迅速。