Dave
Dim FileName as String
FileName = Application.GetOpenFileName
The path will be included in the returned value.
--
Earl Kiosterud
www.smokeylake.com
-----------------------------------------------------------------------
"Dave F" wrote in message
...
I have a macro that parses a table, filters it according to some criteria,
and then copies the filtered records to a new file.
What code can I use to prompt the user to
1) Enter a file name
2) Browse to a specific network location to save the file (which can vary
each time the macro is run)
I'm assuming these two questions would make use of the MsgBox command but
I'm not sure exactly how it would look. Thanks for any hints.
Dave
--
A hint to posters: Specific, detailed questions are more likely to be
answered than questions that provide no detail about your problem.