View Full Version : Solved: Pulling file name from dialog
bwells
05-30-2006, 08:41 AM
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
Jacob Hilderbrand
06-04-2006, 05:59 PM
Excel can do this, so as long as you have Excel installed we can borrow the function to use in PowerPoint.
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
bwells
06-05-2006, 05:51 AM
Oh ok, thanks alot man.
Jacob Hilderbrand
06-05-2006, 08:20 AM
You're Welcome :beerchug:
Take Care
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.