Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Go from pps to ppt with a button

Status
Not open for further replies.

gcole

Programmer
Aug 2, 2000
390
US
We are releasing a presentation that links to excel charts. We need our users to be able to copy and paste these graphs in to the program of their choice (i.e. Excel, Word). Can I program a button to switch the presentation from pps to ppt?
 
Just rename the file... I can look up the vba for it if you'd like...

--James
junior1544@jmjpc.net
Life is change. To deny change is to deny life.
 
dim objScript
Set objScript = CreateObject("Scripting.FileSystemObject")
dim strsource as string
dim strdest as string
'You need to set the above two variables to
'some thing here. The variable names need to be full names
'Like "c:\mydocs\fun.ppt"



objScript.CopyFile strsource strdest
kill strsource
Set objScript = Nothing junior1544@jmjpc.net
Life is change. To deny change is to deny life.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top