Results 1 to 6 of 6

Thread: Shorten code

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #4
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,446
    Location
    Dunno about shorter, but better IMO

    msgTest = "Airport Shuttle Tips*"
    LTips.Visible = msg1.Caption = msgTest Or _
    msg2.Caption = msgTest Or _
    msg3.Caption = msgTest Or _
    msg4.Caption = msgTest Or _
    msg5.Caption = msgTest
    Last edited by Aussiebear; 04-02-2025 at 06:12 PM.
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

Posting Permissions

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