B
BRG
I have used the following code to allow a user to browse and select an excel
file to open in the past:
FOpen = Application.Dialogs(xlDialogOpen).Show(ThisWorkbook.Path)
I am now trying to use the same method to open a text file, using the
following code:
FOpen = Application.Dialogs(xlDialogOpenText).Show(ThisWorkbook.Path)
This doesn't seem to work. What am I doing wrong?
file to open in the past:
FOpen = Application.Dialogs(xlDialogOpen).Show(ThisWorkbook.Path)
I am now trying to use the same method to open a text file, using the
following code:
FOpen = Application.Dialogs(xlDialogOpenText).Show(ThisWorkbook.Path)
This doesn't seem to work. What am I doing wrong?