-
Solved: Pulling file name from dialog
I have a browse window open and what I want to do is pull the selected file name (or file path including file name) and dispay it in a text box. Pretty much simulating how it works already. I'm just tryin to create my own operation. Does anyone know how I would do that?
Thank you
-
Excel can do this, so as long as you have Excel installed we can borrow the function to use in PowerPoint.
[vba]
Dim AppExcel As Object
Dim Path As String
Set AppExcel = CreateObject("Excel.Application")
Path = AppExcel.GetOpenFilename("PowerPoint Files (*.ppt), *.ppt")
MsgBox Path
AppExcel.Quit
Set AppExcel = Nothing
[/vba]
-
-
You're Welcome
Take Care
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules