Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a template called PkLstTemplate1.xlt saved in the template directory.
A user opens this template by clicking on a sortcut to it. When the template opens it has a name of PkLstTemplate11 (no .xls extension) VB code in Workbook_Open prompts the user for information and successfully saves the file using the ActiveWorkbook.SaveAs command. For example say the code saved the file as XYZ.xls After the save has completed, the activeworkbook SHOULD be XYZ.xls, but it is still PkLstTemplate11. If the user clicks on File-Save as and gives it a new name the active workbook becomes this new name as normal. What am I missing? Why does the active sheet not take the name of the file it just saved? The code in this template used to work flawlessly every time. For some reason it stopped working one day! Thanks, Brent |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
is it possible to apply template to a existing worksheet | Excel Worksheet Functions | |||
Template changes to existing workbooks | Excel Worksheet Functions | |||
apply a template to existing worksheet | Excel Discussion (Misc queries) | |||
The Template Wizard retains the original location for my database | Excel Discussion (Misc queries) | |||
Macro that retains password. | Excel Programming |