View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Vitalya Vitalya is offline
external usenet poster
 
Posts: 2
Default BuiltIn dialogs value


Hi all,
How can I check what button user press in builtIn dialog?
For example I want to check If user press 'Cancel' button in the Print dialog.
In MSWord i implement DocumentBeforePrint function and call:
long buttonValue = pDialog-Display(). If buttonValue == 0 - user press
"Cancel".
How can I do it in Excel.