Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() <Help file ..... If MultiSelect is True, the return value is an array of the selected file names (even if only one filename is selected). Returns False if the user cancels the dialog box. </Help file So you have to deal with an array of values not a single string. Also check for False. NickHK "diacci1st" wrote in message ... Hi I need to get the below to work but I can not understand why it does not work Could someone help? Dim FName As Variant FName = Application.GetOpenFilename("TXT files (*.txt),*.txt,All Files (*.*),*.*", , , , True) Open FName For Input As #1 Thank you |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
problem opening file | Excel Discussion (Misc queries) | |||
Problem opening a file | Excel Discussion (Misc queries) | |||
Problem opening a file | Excel Programming | |||
opening file problem please help | Excel Discussion (Misc queries) | |||
My Add-in causes problem with opening a file twice | Excel Programming |