+ Reply to Thread
Results 1 to 8 of 8

Uncheck option buttons

  1. #1
    Forum Contributor
    Join Date
    04-02-2012
    Location
    Bergen, Norway
    MS-Off Ver
    MS 365 Subscription
    Posts
    369

    Uncheck option buttons

    Hi,

    I was woundering if anyone could help with a code for unchecking option buttons by use of a maco.

    Thanks in advanse.

  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

    Re: Uncheck option buttons

    Good afternoon Oeysbrei

    What kind of option button?
    One that you have programmed yourself? There are a number of sorts.

    From within a userform it would be as easy as :
    Please Login or Register  to view this content.
    to toggle the value on and off.

    You will need to provide more information.

    HTH

    DominicB

  3. #3
    Forum Contributor
    Join Date
    04-02-2012
    Location
    Bergen, Norway
    MS-Off Ver
    MS 365 Subscription
    Posts
    369

    Re: Uncheck option buttons

    Hello Dominicb,

    I have attached a dummy workbook with a textbox explaning what I want.
    Attached Files Attached Files

  4. #4
    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

    Re: Uncheck option buttons

    Hi Oeysbrei

    Would you consider using AciveX controls rather than form controls?
    They look better, are easier to control, are more modern etc.
    They can be found on the same toolbar as form controls. There's no reason not to really.

    DominicB

  5. #5
    Forum Contributor
    Join Date
    04-02-2012
    Location
    Bergen, Norway
    MS-Off Ver
    MS 365 Subscription
    Posts
    369

    Re: Uncheck option buttons

    Hi,

    I will still have the same problem by using ActiveX controles. I need a macrocode to get them unchecked by use of a button that also will clears the form.

    Best regards Oeysbrei

  6. #6
    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

    Re: Uncheck option buttons

    Hi Oeysbrei

    Have a look at the example workbook, using ActiveX controls rather than form controls, doing what you require.

    HTH

    DominicB
    Attached Files Attached Files

  7. #7
    Forum Contributor
    Join Date
    04-02-2012
    Location
    Bergen, Norway
    MS-Off Ver
    MS 365 Subscription
    Posts
    369

    Re: Uncheck option buttons

    Hi dominicb,

    That will clear the buttons, but not the form. Do you have any code that I use in the same macro so that it will do both?
    Hope you have patience with me, I`m new at this.

    Oeysbrei

  8. #8
    Forum Contributor
    Join Date
    04-02-2012
    Location
    Bergen, Norway
    MS-Off Ver
    MS 365 Subscription
    Posts
    369

    Re: Uncheck option buttons

    dominicb,

    It`s working halleluja.
    I had to change some of the words from my norwegian version to the english.

    Thank you very mutch

+ 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