LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default "ByVal Cancel As MSForms.ReturnBoolean"

Have been unable to find any help on these details, nor any VB programmers
who can give a definitive answer...

the subject line code is default for many event subs in VBA. exactly what is
setting the Cancel var?? to put it another way, when or what would cause the
var Cancel to be True? Have tested in a huge # of scenarios involving closing
and cancelling forms and controls, and have yet to see Cancel = anything
besides False.

also...ReturnBoolean is obviously not same as Boolean. can it be anything
else besides True or False? would it be useful anywhere else?

thanks for any replies :)
 
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
MACRO: Selecting "Cancel" from a drop down to copy and paste entirerow to another sheet Nicole Hannington Excel Worksheet Functions 1 July 20th 09 06:51 PM
how to stop program with loop by click "Cancel" button miao jie Excel Programming 2 December 16th 04 02:42 PM
Close workbook with "Cancel=TRUE" in the BeforeClose()" Wellie[_3_] Excel Programming 1 October 16th 04 09:46 PM
Call Sub Procedure object_Exit(ByVal Cancel As MSForms.ReturnBoole Kevin McCartney Excel Programming 1 October 8th 04 10:37 AM
MSForms cancel Tritan Excel Programming 1 July 17th 03 08:50 PM


All times are GMT +1. The time now is 02:29 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"