S
susan
Hi,
I want to open a file with the
Private Sub Command1_Click()
Application.FollowHyperlink (Myfile)
End Sub
- I do know the foldermame Infile is in
- I do know the name of Infile
- I do not know the extension of Infile
So: Myfile = Foldername & "\" & Filename & "." & Extension
How can I determine the extension of the file, knowing that each file
excists only once in the folder.
Ext = "*" or Ext = "???" does not work.
Thanks,
Susan
I want to open a file with the
Private Sub Command1_Click()
Application.FollowHyperlink (Myfile)
End Sub
- I do know the foldermame Infile is in
- I do know the name of Infile
- I do not know the extension of Infile
So: Myfile = Foldername & "\" & Filename & "." & Extension
How can I determine the extension of the file, knowing that each file
excists only once in the folder.
Ext = "*" or Ext = "???" does not work.
Thanks,
Susan