I created a userform that through user input will get a directory i.e.("C:\some folder\some file.xxx") up, and opens the folder where the file exists with a file dialog box. From here I would like the file dialog box to only show the "some file.xxx" that the user selected, not every single file that is in the folder.
Is this possible?
I'm using this simple code
i'm using vba in excel 2007
What I have works, i'm just trying to refine my program.
If anyone can help or has any other ideas to accomplish this i'd appreciate it.
thx
RRR
Is this possible?
I'm using this simple code
Code:
ChDir (directory) strDocument = Application.GetOpenFilename(Filter, 1, Title) If Len(strDocument) < 6 Then Exit Function ActiveWorkbook.FollowHyperlink strDocument 'Open document
What I have works, i'm just trying to refine my program.
If anyone can help or has any other ideas to accomplish this i'd appreciate it.
thx
RRR
Comment