Consulting

Results 1 to 3 of 3

Thread: Solved: Disable Form Control Button/Code

  1. #1
    VBAX Regular
    Joined
    Oct 2010
    Location
    Texas
    Posts
    93
    Location

    Solved: Disable Form Control Button/Code

    Hello Everyone,
    I have a worksheet with about 10 Form Control Buttons. The UI is limited as I have disable the ribbon and sheet tabs. One of the buttons saves the users input. Another button allows the user to retrieve a saved file for further updating. I have two other buttons that I would like to disable when a saved file is retrieved. Is it possible to disable these button or corresponding code when a saved file is retrieved? Or should I convert these Form Control Buttons to Active X Command Buttons and disable the code this way? Any help you can provide will be greatly appreciated.

    Thank you.

  2. #2
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    [vba]

    ActiveSheet.Buttons("Button 1").Enabled = False
    [/vba]
    ____________________________________________
    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

  3. #3
    VBAX Regular
    Joined
    Oct 2010
    Location
    Texas
    Posts
    93
    Location
    Thank you very much! You're Great!

Posting Permissions

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