PDA

View Full Version : [SOLVED] Boolean true



crmpicco
06-09-2005, 06:40 AM
If bMultipleSheets Then

does this mean if variable is true?

Killian
06-09-2005, 06:42 AM
yes

BlueCactus
06-09-2005, 06:43 AM
Yep. And

If Not bMultipleSheets Then

means if bMultipleSheets = False

Should also add that 'True' can mean <> 0 for numbers.

Zack Barresse
06-09-2005, 08:22 AM
It's another one of those 'by default' implied-type of actions. Action through inaction. Like using 'Range("A...' instead of 'Sheets("Sheet1").Range("A...', the activesheet is implied. if not specified.

Also, if writing a boolean Function, it's state will always be assumed to be False unless proven otherwise.

Killian
06-09-2005, 08:28 AM
Action through inaction
What a fantasic phrase! I'm going to print it out, laminate it and position it conspicuously at my workstation.
It's not often you can describe your entire work ethic in 3 words heh

stapuff
06-09-2005, 08:56 AM
Killian -

That's pretty funny:rotlaugh: . I am going to one up you and have a tattoo done with that phrase so I can flash it to my wife when she pulls out the honey do list. :devil: :rofl:

Thanks firefytr you made my day.

Kurt

Zack Barresse
06-09-2005, 09:12 AM
ROFL!!

Hey, I aim to please! (I'm here all week. ;) )