Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Get path to file used as a template from opened copy
Using Office 2003 and Windows XP;
I need to return the path to the template file on which the current file was opened. The file will be opened by users, but it could also be copied into other directories, so I need it to be dynamic. The problem is, the template is not saved, so there is no path...yet. Should I/can I somehow code the file opened as a copy to get this information in a global variable On_Open? Any ideas? Thanks much in advance for your assistance. |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Get path to file used as a template from opened copy
Excel isn't like MSWord. Excel doesn't keep track of what template was used as
the basis for a workbook. Maybe you could hide the path in a hidden worksheet or a hidden name? XP wrote: Using Office 2003 and Windows XP; I need to return the path to the template file on which the current file was opened. The file will be opened by users, but it could also be copied into other directories, so I need it to be dynamic. The problem is, the template is not saved, so there is no path...yet. Should I/can I somehow code the file opened as a copy to get this information in a global variable On_Open? Any ideas? Thanks much in advance for your assistance. -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Identify the network path a file was opened from (Excel2007) | Excel Discussion (Misc queries) | |||
macro to autofilter other file and copy in opened file | Excel Programming | |||
Checking whether .xls file was just opened from a template | Excel Programming | |||
macro to retrieve path to opened file | Excel Programming | |||
How set file open path to filepath of file opened with Explorer ? | Excel Programming |