+ Reply to Thread
Results 1 to 2 of 2

Need code to add values from 2 text boxes and place result in a label.

  1. #1
    Registered User
    Join Date
    04-26-2011
    Location
    Texas
    MS-Off Ver
    Excel 2007
    Posts
    48

    Need code to add values from 2 text boxes and place result in a label.

    Hi. I have a userform to load data into a spreadsheet. I want to use a label to hold a calculated value. What I'm trying to do is take the values from 2 text boxes, calculate a percentage, and then place the result in a label. I've tried every combination I can think of but the result is always zero. What I have so far is below. I appreciate any help. This one is driving me nuts. Thanks.

    Please Login or Register  to view this content.
    Last edited by egavasrg; 09-01-2012 at 09:45 PM.

  2. #2
    Forum Contributor
    Join Date
    08-09-2012
    Location
    Anch, Alaska
    MS-Off Ver
    2003, 2010, 2013
    Posts
    131

    Re: Need code to add values from 2 text boxes and place result in a label.

    Give this a try, you also need to update you label name to something different that the command click.

    Please Login or Register  to view this content.

+ 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