Using several combinations of code I need to retrieve File Path dynamically when a user imports a file.
The code to have a user import a csv file is
The user can get any File Path. This URL gives a post on doing this, but I don't understand it.
http://www.ozgrid.com/forum/showthread.php?t=20350
If you can help me out so I can get the dynamic FilePath so I can use this, http://www.zerrtech.com/content/excel-vba-open-csv-file-and-import, I would sincerely appreciate it.
Thanks
The code to have a user import a csv file is
Code:
fileName = Application.GetOpenFilename( _
"Comma Separated Files (*.csv),*.csv," & _
"All Files (*.*),*.*", _
Title:="Select a CSV File to Import")
The user can get any File Path. This URL gives a post on doing this, but I don't understand it.
http://www.ozgrid.com/forum/showthread.php?t=20350
If you can help me out so I can get the dynamic FilePath so I can use this, http://www.zerrtech.com/content/excel-vba-open-csv-file-and-import, I would sincerely appreciate it.
Thanks