Hi, all
I'm trying to build a macro that will allow users to input file locations, I'm having a hard time getting the macro to substitute cell contents for a hard-coded string. I have this:
Workbooks.OpenText Filename:= _
"S:\Departments\Shop Public\Support\stats_liste_MvtStock.txt" _
I would like to instead have something like this:
Workbooks.OpenText Filename:= _
"cell(D6)" _
In this case D6 would contain the file address on the network. With that accomplished, users can identify their source files without rooting around in the code. This can't be too hard, can it?
Thanks,
Nate
Bookmarks