Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I've written a small macro that once it's run I want the user to print
a copy of the worksheet and then close the worksheet. Currently I'm performing Excel.Application.ThisWorkbook.PrintOut Excel.Application.ThisWorkbook.Close Is there a way I can display a printer select dialogue AND ensure that the worksheet has at least been spooled to the printer? Also when I perform my .Close it always asks the user if they'd like to save any changes. I've already performed a .SaveCopyAs to archive what the user has done I don't want them to have the ability to save changes to my template file. Granted my template file is READ ONLY and they can't save changes to it but I'd still like them not to be prompted to save changes on a .Close. Is there any way to .Close without prompting the user to save changes? Thanks Eric |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Answers to questions posing more questions in a workbook | Excel Worksheet Functions | |||
View Questions and Answer to questions I created | Excel Discussion (Misc queries) | |||
why do all excel worksheets/workbooks close when I close one? | Excel Discussion (Misc queries) | |||
Excel shoud not close all active books when clicking close button | Excel Discussion (Misc queries) | |||
excel - Windows close button (x) should only close active workboo. | Setting up and Configuration of Excel |