I have the following code in an Excel Spreadsheet.
I need it to work in Powerpoint and I am stumped.
[vba]Dim MyPath As String
MyPath = ThisWorkbook.Path
[/vba]
I have the following code in an Excel Spreadsheet.
I need it to work in Powerpoint and I am stumped.
[vba]Dim MyPath As String
MyPath = ThisWorkbook.Path
[/vba]
[VBA]mypath =ActivePresentation.Path[/VBA] should do it
John Wilson
Microsoft PowerPoint MVP
Amazing Free PowerPoint Tutorials
http://www.pptalchemy.co.uk/powerpoi...tutorials.html