Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.newusers
|
|||
|
|||
Paths
I have prepared a spreadsheet that has a macro(recorded) in it that when
invoked, opens another excel file. Here is that code: Workbooks.Open Filename:= _ "C:\Documents and Settings\Ross D\My Documents\AURORA\jimspreada1.xls" I plan to distribute these sheets to various other employees at my agency for their use. Both files will always be in the same directory -- however, a different directoy on each person's machine. How do I change the above code to open that file in the current directoy, what ever that directory might be? Ross |
#2
Posted to microsoft.public.excel.newusers
|
|||
|
|||
Paths
You had a pretty good reply at one of your earlier posts. Didn't it work?
Ross wrote: I have prepared a spreadsheet that has a macro(recorded) in it that when invoked, opens another excel file. Here is that code: Workbooks.Open Filename:= _ "C:\Documents and Settings\Ross D\My Documents\AURORA\jimspreada1.xls" I plan to distribute these sheets to various other employees at my agency for their use. Both files will always be in the same directory -- however, a different directoy on each person's machine. How do I change the above code to open that file in the current directoy, what ever that directory might be? Ross -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
I hate paths! | Excel Discussion (Misc queries) | |||
DISPLAYING THE LINK PATHS | Excel Worksheet Functions | |||
Help with filenames and paths. | Excel Discussion (Misc queries) | |||
file paths | Excel Discussion (Misc queries) | |||
vlookup with relative paths | Excel Worksheet Functions |