LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 208
Default What is "Cancel=True"?

Hi,
No idea - you will have to post an example macro. One possibility is
that a public variable called Cancel has been declared at the top of a
code module, so that it doesn't appear as a dim statement in the sub.
Another possibility is that the coder has not used Option Explicit at
the top of a module, so that this is a sub level variable. Yet another
possibility is that it says .Cancel = True (note the dot), and then
you proably have a Public variable declared in the code module behind
a Userform..
Impossible to say - post some code.

regards
Paul

universal wrote in message ...
Apologies if this is a simplistic question, but in order to help my
understanding of the macros that Ive been butchering and then adding
together, like a poor mans' Dr Frankenstein, I wondered what this
meant.

Cancel = True (and indeed Cancel = False) statements are littered
across some macros that I am using, before and after functions, and
dialogue boxes.

I wonder if anyone could explain how this actually works and what it
refers to, and when it should be used?

Many thanks for everybodies continued understanding & patience,
Ed


---
Message posted from http://www.ExcelForum.com/

 
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
Disable autoformat of "true" and "false" text drs207 Excel Discussion (Misc queries) 6 April 14th 23 05:33 PM
Check if cells contain the word "Thailand", return "TRUE" ali Excel Worksheet Functions 7 September 14th 07 09:53 AM
change "true" and "false" to "availble" and "out of stock" inthestands Excel Worksheet Functions 2 July 19th 07 07:05 PM
Typing "true" excel 2007 change it to "TRUE" Mr. T Excel Discussion (Misc queries) 2 April 11th 07 01:24 PM
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next BCB New Users to Excel 7 May 13th 06 10:02 PM


All times are GMT +1. The time now is 08:34 AM.

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"