Question : Problem: Get Filename and path Excel VBA

Hi,

I'm trying to use a file dialog to allow the user to browse a folder to select a picture and then output that path and filename so that it can be inserted into another sheet later.  My main objective is just to pick the file and output the path and filename to a textbox.  I would prefer to have the path and filename in one string but it could be two seperate strings if needed.  

Thanks
Todd

Answer : Problem: Get Filename and path Excel VBA

Todd

If you are doing this in Excel VBA use GetOpenFileName, that will return the name and path of the selected file.
Random Solutions  
 
programming4us programming4us