Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
deleting workbook names in excel
I have a template that runs an automacro that creates 3 worksheets,
manipulates them, closes them, etc. Sometimes, instead of opening "tstemp.xls", excel will open tstemp1.xls, then tstemp2.xls, etc. Is there a way I can clear out these names so that excel will always open tstemp rather than the sequential numbering? Thanks, Liz |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
deleting workbook names in excel
It looks like you have got your terminology wrong, which could be
giving rise to your problem. You can create and delete WorkSheets in a WorkBook, but you can only Open and Close WorkBooks (files with .xls suffix) from disk . It seems more likely that there is an error in your code, because if you use something like :- Workbooks.Open FileName:="tstemp.xls" It will either open that workbook if it is a valid procedure or give an error message. If you have temporarily blocked error messages with Application.DisplayAlerts = False, comment out the line to see if you do get a message. If your problem is not solved here I suggest you post your code in a new message (many of us do not read ones already answered). Regards BrianB ==================================== (Liz Gewirtz) wrote in message . com... I have a template that runs an automacro that creates 3 worksheets, manipulates them, closes them, etc. Sometimes, instead of opening "tstemp.xls", excel will open tstemp1.xls, then tstemp2.xls, etc. Is there a way I can clear out these names so that excel will always open tstemp rather than the sequential numbering? Thanks, Liz |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Deleting workbook in Office EXCEL 2007 | Excel Discussion (Misc queries) | |||
Deleting workbook closes Excel | Excel Discussion (Misc queries) | |||
deleting names from the name box | Excel Discussion (Misc queries) | |||
deleting duplicate names | Excel Discussion (Misc queries) | |||
Deleting Names in Excel 2003 | Excel Discussion (Misc queries) |