Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am attempting to automatically print an mdi format file from Excel. When
the save menu asks for a name or cancel option, my visual basic program fails with error code 1004 even though I have an on error statement. How do you trap the cancel selection from the menu to avoid the vb program from quiting with an error. When I use the On Error when attempting to print a PDF file and the user selects cancel, it traps the error and the vb program continues on to the GoTO address. Thanks for any help. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
runtime error code 1004 | Excel Worksheet Functions | |||
Error handling in this code | Excel Discussion (Misc queries) | |||
Repost with code - Runtime error '1004' | Excel Programming | |||
Code Run-time error '1004' | Excel Programming | |||
VBA code to save gives error 1004??? | Excel Programming |