xlDialogOpen get it to return Path

D

DMc2005

Hi

How can i get the XLDialogOpen to return the path of the file. ie
C:\documents and users\someuser\my documents\test.xls

Thanks.

D
 
T

Tom Ogilvy

Instead use

Dim fName as String
fName = Application.GetOpenFileName()

fName will hold what you show.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top