+ Reply to Thread
Results 1 to 2 of 2

User's choice to several checkbox options will place user name on selected worksheets

Hybrid View

  1. #1
    Registered User
    Join Date
    05-22-2013
    Location
    Billtown, PA
    MS-Off Ver
    Excel 2010
    Posts
    12

    User's choice to several checkbox options will place user name on selected worksheets

    User has several options to choose from, utilizing checkbox choices.
    (example)
    cbx1 = bus
    cbx2 = taxi
    cbx3 = personal vehicle
    cbx4 = train
    cbx5 = air

    each option has its' own worksheet, and the user may choose more than one option.
    depending on which checkbox is checked, the user name will appear on the corresponding worksheet...

    Please assist.
    Thank you.

  2. #2
    Registered User
    Join Date
    03-04-2012
    Location
    Lodz, Poland
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: User's choice to several checkbox options will place user name on selected worksheets

    Hi,

    If you use form control checkbox you can assign below code to first checkbox. It will write users name in sheet named "bus". Modify below code and assign it to other checkboxes.
    Sheets("bus").Range("A1").Value = IIf(ActiveSheet.CheckBoxes(Application.Caller).Value = 1, Application.UserName, "")
    Hope this helps.

    Regards,
    Sebastian

+ 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