Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I have a script that copies a worksheet, creates a new workbook containing the copied sheet which is then printed. After printing the new workbook is closed The script is: ActiveSheet.Copy 'Next line prints out the new worksheet ActiveWorkbook.PrintOut 'Next line closes the workbook containing the copied worksheet ActiveWorkbook.Close Obviously when I close the new (and temporary) workbook I'm prompted with the question "Do I wish to save the changes to book 2?" Is it possible to get the script to effectively answer that question for me - so the question doesn't appear? -- Cheers Peter Remove the INVALID to reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Selecting "Save As" adds "Copy of" to file name- MS Excel 2007 | Excel Discussion (Misc queries) | |||
How do I write an excel formula with a text answer ("yes" or "no") | Excel Discussion (Misc queries) | |||
How to schedule an auto "Save As" of an Excel spreadsheet daily... | Excel Worksheet Functions | |||
"CELL("FILENAME") NOT UPDATE AFTER "SAVE AS" ACTION | Excel Discussion (Misc queries) | |||
"Save" and "Save As" options greyed out - "Save as Webpage" option | Excel Discussion (Misc queries) |