+ Reply to Thread
Results 1 to 5 of 5

USerform: add button pasting option values

  1. #1
    Forum Contributor
    Join Date
    07-27-2009
    Location
    montreal, canada
    MS-Off Ver
    Excel 2003
    Posts
    230

    USerform: add button pasting option values

    Hi,
    on my userform, I have 2 frames with 2 option buttons each.
    Match up 1, team 1 or team 2
    Matchup 2, team1 or team2

    And an Add choices button.

    i've seen a tutorial to paste combo box values, but not option button results...

    Can anyone help, shoot a link, cause I can'T find anything on that.

  2. #2
    Forum Contributor
    Join Date
    07-27-2009
    Location
    montreal, canada
    MS-Off Ver
    Excel 2003
    Posts
    230

    Re: USerform: add button pasting option values

    Well I spoke too quickly I found this:

    If team1 = True Then
    ActiveCell.Offset(0, 2).Value = "NYC"
    ElseIf Team2 = True Then
    ActiveCell.Offset(0, 2).Value = "BOS"
    Else
    ActiveCell.Offset(0, 4).Value = "choooooose"
    End If

    Now I'll see if I can do it for more than one frame...

  3. #3
    Forum Contributor
    Join Date
    07-27-2009
    Location
    montreal, canada
    MS-Off Ver
    Excel 2003
    Posts
    230

    Re: USerform: add button pasting option values

    Additionnal points for someone who can help me trnasform this into an Outlook form

  4. #4
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: USerform: add button pasting option values

    Please use Code Tags not Quote Tags
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  5. #5
    Forum Contributor
    Join Date
    07-27-2009
    Location
    montreal, canada
    MS-Off Ver
    Excel 2003
    Posts
    230

    Re: USerform: add button pasting option values

    good point. sorry. They are'nt in the quick replys box. Could be added no?

+ 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