localfiend
Board Regular
- Joined
- Mar 15, 2006
- Messages
- 166
I've got a variable path for a file stored in a cell inside a worksheet that I need to convert to the old dos format (no spaces).
I.E.
From c:\Awesome File\FTP\My Awesome File.txt
to c:\Awesom~1\FTP\My~1.txt
The actual path/file name is much longer and is determined by multiple fillable fields, cells, and drop down menu's so the only feasible way at the moment seems to be that I need some code to convert the file/path name all at once.
After doing a little searching on google I came up with several that could determine the short path name of the actual workbook, but none that could convert a path that was different from the workbook.
I.E.
From c:\Awesome File\FTP\My Awesome File.txt
to c:\Awesom~1\FTP\My~1.txt
The actual path/file name is much longer and is determined by multiple fillable fields, cells, and drop down menu's so the only feasible way at the moment seems to be that I need some code to convert the file/path name all at once.
After doing a little searching on google I came up with several that could determine the short path name of the actual workbook, but none that could convert a path that was different from the workbook.