Results 1 to 6 of 6

Thread: Shorten code

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Shorten code

    is there a better or shorter/efficient way of writing this code?
    If msg1.Caption = "Airport Shuttle Tips*" Or msg2.Caption = "Airport Shuttle Tips*" Or _
    msg3.Caption = "Airport Shuttle Tips*" Or msg4.Caption = "Airport Shuttle Tips*" Or _
    msg5.Caption = "Airport Shuttle Tips*" Then LTips.Visible = True
    Last edited by Aussiebear; 04-02-2025 at 06:10 PM.

Posting Permissions

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