+ Reply to Thread
Results 1 to 13 of 13

many optionbuttons in a form need help to make classes

Hybrid View

  1. #1
    Forum Expert snb's Avatar
    Join Date
    05-09-2010
    Location
    VBA
    MS-Off Ver
    Redhat
    Posts
    5,649

    Re: many optionbuttons in a form need help to make classes

    Please do not quote (see the forum rules)

    explanation:

    if the control (ct) is an optionbutton, then
    check whether the optionbutton's value is True or False: iif(ct,True ,False )
    if it's value is True then look at it's .caption (ct.caption)
    and take only the number -from left to right- in that caption: val(ct.caption)
    add that number to the numbers we already added into variable x.
    Last edited by snb; 09-07-2011 at 07:37 AM.



  2. #2
    Forum Expert Simon Lloyd's Avatar
    Join Date
    03-02-2004
    Location
    locked in the cage
    MS-Off Ver
    All the ones my homepage shows
    Posts
    3,161

    Re: many optionbuttons in a form need help to make classes

    Quote Originally Posted by snb View Post
    Please do not quote (see the forum rules)......
    snb it's admirable that you follow the rules but then so did the OP!

    12. Don't quote whole posts -- it's just clutter. If you are responding to a post out of sequence, limit quoted content to a few relevant lines that makes clear to whom and what you are responding.
    Not all forums are the same - seek and you shall find

+ 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