Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
In an addin's routine, user navigates and chooses a workbook
to be opened by the code (I know a copy has been opened). I would like to be sure that when that book is closed, the only acceptable change is the addition of a new code-created sheet. I can only see the following option: open the workbook (say "testbook") SaveAs "1" & "testbook" Close "1" & "testbook" (perhaps not neccessary) Open "testbook" Do all the code Create the new sheet Open "1" & "testbook" Add the new sheet to it use DisplayAlerts=False SaveAs "testbook" Does this seem feasible and/or is there a better way, please? Regards. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.520 / Virus Database: 318 - Release Date: 18/09/2003 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Copy Sheet to new Sheet and clear cells on original sheets | Excel Discussion (Misc queries) | |||
???Replicate a sheet but chart still link to original sheet | Charts and Charting in Excel | |||
how can I paste to a different workbook without formula refrencing the original sheet | New Users to Excel | |||
Original Workbook | Excel Discussion (Misc queries) | |||
HOW DO I PRESERVE FORMATTING WHEN PASTING INTO A NEW WORKBOOK? | Excel Discussion (Misc queries) |