Office中国论坛/Access中国论坛

标题: 如何用POWERPOINT制作相册 [打印本页]

作者: sunredday    时间: 2005-2-9 19:09
标题: 如何用POWERPOINT制作相册
如何用VBA

1、建立幻灯片

2、插入图片?


作者: sunredday    时间: 2005-2-9 21:14
On Error Resume Next

ActiveWindow.View.GotoSlide Index:=ActivePresentation.Slides.Add(Index:=1, Layout:=ppLayoutTitle).SlideIndex '插入点

ActiveWindow.Selection.SlideRange.Shapes.AddPicture(FileName:="D:\Documents and Settings\Administrator\My Documents\My Pictures\样品.jpg", LinkToFile:=msoFalse, SaveWithDocument:=msoTrue, Left:=0, Top:=0, Width:=500, Height:=400).Select

ActivePresentation.Save


作者: test2000    时间: 2005-2-10 03:52
也可编程? !
作者: sunredday    时间: 2005-2-10 04:04
office 家族,AUTOCAD, FLASH 都可以编程




欢迎光临 Office中国论坛/Access中国论坛 (http://www.office-cn.net/) Powered by Discuz! X3.3