+ Reply to Thread
Results 1 to 4 of 4

Enable/Disable Form controls on a worksheet (not Active X Control)

  1. #1
    Registered User
    Join Date
    08-29-2012
    Location
    Melbourne
    MS-Off Ver
    Excel 2010
    Posts
    2

    Enable/Disable Form controls on a worksheet (not Active X Control)

    hi there,
    I was just wondering if the below command works for disable Form control buttons on active worksheet,

    ActiveSheet.Buttons("Button 1").Enabled=False
    Thanks.

  2. #2
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: Enable/Disable Form controls on a worksheet (not Active X Control)

    No, it doesn't as you are presumably already aware!
    Remember what the dormouse said
    Feed your head

  3. #3
    Registered User
    Join Date
    08-29-2012
    Location
    Melbourne
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Enable/Disable Form controls on a worksheet (not Active X Control)

    Oh thanks for that...
    Now, is there a work around to disable Form Control on Active worksheet or do I just have to define the buttons as Active X controls...
    Thanks.

  4. #4
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: Enable/Disable Form controls on a worksheet (not Active X Control)

    You can use ActiveX controls instead, or hide the buttons that aren't usable, or add a check to the relevant macro that just informs the user it's not currently a valid option.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1