+ Reply to Thread
Results 1 to 3 of 3

combo box variable

  1. #1
    Registered User
    Join Date
    01-25-2010
    Location
    West Midlands, England
    MS-Off Ver
    Excel 2007
    Posts
    14

    combo box variable

    I'm attempting to practice my VBA by building to basic utilities.

    Here I have a basic userform with textbox1, textbox3 (numbers to calculate), a combobox (mathematical operator selection) and a label which should display the result.

    The calculate command button code is as follows, but the 'Result = ( x Op y )' line doesn't appear to work. Any advice welcome.

    Thanks,

    Mark



    Please Login or Register  to view this content.

  2. #2
    Valued Forum Contributor mohd9876's Avatar
    Join Date
    05-04-2011
    Location
    Amman, Jordan
    MS-Off Ver
    Excel 2010
    Posts
    426

    Re: combo box variable

    try the following instead:

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    01-25-2010
    Location
    West Midlands, England
    MS-Off Ver
    Excel 2007
    Posts
    14

    Re: combo box variable

    Perfect! thanks

+ 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