Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I have a vba code that opens a file placed on my desktop, but this vba code
must be used in several pc's, and in every pc the desktop path is different due to different user names. I would like to now if it's possible to write a "generic" path for the vba to find the files with no matter which of the pc desktops the macro is being ran at. The files will be placed always in the desktop folder. here is the string I am using to open the file. Workbooks.Open "C:\Documents and Settings\[Username]\Desktop\Data_Export.xls" Any advice would be appreciated |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Generic reference in a Macro | Excel Discussion (Misc queries) | |||
Formula too long - new file path is shorter than old file path - Excel 2003 | Excel Worksheet Functions | |||
Macro help: File path in Excel 2000 | Excel Discussion (Misc queries) | |||
Creation of a Generic Macro | Excel Worksheet Functions | |||
Macro - Feeding path and file name to PDF maker | Excel Discussion (Misc queries) |