Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 260
Default Print Dialog Cancel Button

Hey guys

When you go to file and print, the print dialog displays.
If the user clicks the cancel button I need for a
particular code I wrote to run. Therefor I need to trap
this event. How do I trap this Cancel click event on the
print dialog screen?


Thank you
Todd Huttenstine
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Print Dialog Cancel Button

Unless your code is displaying it with

res = Application.Dialogs(xlDialogPrint).Show
you don't.

It seems like an unusual situation where you need to react to a user trying
to print using the menus and then changing their mind.


--
Regards,
Tom Ogilvy


"Todd Huttenstine" wrote in message
...
Hey guys

When you go to file and print, the print dialog displays.
If the user clicks the cancel button I need for a
particular code I wrote to run. Therefor I need to trap
this event. How do I trap this Cancel click event on the
print dialog screen?


Thank you
Todd Huttenstine



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
print prevu button brings rights management dialog box - how do i troubled terry Setting up and Configuration of Excel 0 January 3rd 06 11:45 PM
message box without ok or cancel button Subash Excel Discussion (Misc queries) 1 October 18th 05 10:38 AM
Cancel Button Matt Excel Programming 3 February 3rd 04 11:23 PM
Dialog Box - User hits cancel CS[_2_] Excel Programming 4 November 14th 03 10:05 PM
How do I check if a user clicked the Print Cancel button joanne Excel Programming 0 September 5th 03 08:24 AM


All times are GMT +1. The time now is 04:07 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"