Consulting

Results 1 to 7 of 7

Thread: Boolean true

  1. #1

    Boolean true

    If bMultipleSheets Then
    does this mean if variable is true?

  2. #2
    VBAX Master Killian's Avatar
    Joined
    Nov 2004
    Location
    London
    Posts
    1,132
    Location
    yes
    K :-)

  3. #3
    VBAX Tutor
    Joined
    Mar 2005
    Posts
    268
    Location
    Yep. And
    If Not bMultipleSheets Then
    means if bMultipleSheets = False

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

  4. #4
    Site Admin
    Urban Myth
    VBAX Guru
    Joined
    May 2004
    Location
    Oregon, United States
    Posts
    4,940
    Location
    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.

  5. #5
    VBAX Master Killian's Avatar
    Joined
    Nov 2004
    Location
    London
    Posts
    1,132
    Location
    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
    K :-)

  6. #6
    Killian -

    That's pretty funny . 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.

    Thanks firefytr you made my day.

    Kurt

  7. #7
    Site Admin
    Urban Myth
    VBAX Guru
    Joined
    May 2004
    Location
    Oregon, United States
    Posts
    4,940
    Location
    ROFL!!

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •