PDA

View Full Version : saveas not working power point templet



shamsam1
11-04-2008, 10:18 PM
i have using this vb.6 code to open power point templet(ofice 2007)

when i manually open the templet and click save then saveas dialog box appears.but when i use the above code to open the test.pot and click on save then saveas dilaog box not opening..

need help in this regard:dunno

[CODE]
Dim ppt As Object
Set ppt = CreateObject("PowerPoint.Application")
ppt.Visible = True
ppt.Presentations.Open "C:\test.pot"
Set ppt = Nothing
[/CODE