+ Reply to Thread
Results 1 to 2 of 2

reset option buttons

  1. #1
    Registered User
    Join Date
    10-24-2005
    Posts
    55

    reset option buttons

    Hi guys

    I have a sheet with 5 pairs (Yes or No Choices) of option buttons (from the control toolbox)
    What i need is a macro that clears cells eg C3 to C6 and resets the option buttons

    But when i try and record a macro that will clear the cells and reset the options buttons back to the NO opiton it will not happen. All i get is the clear cell code

    Help

    Thanks

  2. #2
    Forum Expert dominicb's Avatar
    Join Date
    01-25-2005
    Location
    Lancashire, England
    MS-Off Ver
    MS Office 2000, 2003, 2007 & 2016 365
    Posts
    4,867

    Smile

    Good evening raw

    You haven't told us what your option buttons are called, so again I will have to generalise a bit with my answer. The code / syntax you want is:

    OptionButton1.Value = True

    but obviously, you may have to change the option button names, true / false etc depending on your sheet set up.

    HTH

    DominicB

+ 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