+ Reply to Thread
Results 1 to 5 of 5

Userform Textbox to show a value based on a referenced cell

  1. #1
    Registered User
    Join Date
    03-22-2014
    Location
    Manila
    MS-Off Ver
    Excel 2003
    Posts
    25

    Userform Textbox to show a value based on a referenced cell

    Hello,

    I have a excel-userform with two sheets Test (2) and Test (3). What I'm trying to achieve and having a problem is at Step 3 of the sequence below.

    1. Click "Create Adjustment" button

    2. Select any amount from the radio button.

    3. ~~~~What I would like to have is that when the "Adjustment" userform is displayed, the AmountTextBox must display the value referenced in Cell A6 respectively for each sheet. 5000 for Test(2) and 9000 for Test(3)

    I do believe that editing the Controlsourceproperty is not sufficient for this task. Help please!
    Attached Files Attached Files

  2. #2
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Userform Textbox to show a value based on a referenced cell

    Maybe:

    Please Login or Register  to view this content.
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

  3. #3
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,963

    Re: Userform Textbox to show a value based on a referenced cell

    Please Login or Register  to view this content.
    Ben Van Johnson

  4. #4
    Registered User
    Join Date
    03-22-2014
    Location
    Manila
    MS-Off Ver
    Excel 2003
    Posts
    25

    Re: Userform Textbox to show a value based on a referenced cell

    Hi, Thank you for the replies, but the amounts of 5000 and 9000 are being combined in the text box showing as "5000 9000"

    Would it be possible that for sheet Test (2) the amount being displayed is 5000 and for Test (3) its 9000? I'm planning on adding up to 20 sheets with the same naming order and each will have different amount per sheet.

  5. #5
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Userform Textbox to show a value based on a referenced cell

    Maybe:

    Please Login or Register  to view this content.
    With this event in the ThisWorkbook module:

    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)

Similar Threads

  1. [SOLVED] Userform ComboBox to Show TextBox Value
    By charscribbles in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-29-2014, 08:43 AM
  2. How can I show userform under the textbox position
    By cemregunay in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-17-2014, 09:23 PM
  3. [SOLVED] Conditional formatting userform textbox based on textbox value
    By kidwispa in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-03-2014, 08:28 AM
  4. Show userform based on cell value
    By NahRoots in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-29-2012, 03:55 PM
  5. Change Userform Textbox based on GUI Cell Selection
    By canyon289 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-09-2011, 06:21 PM
  6. TextBox in UserForm to show cell value instantly
    By gsandy in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 11-03-2009, 09:32 PM
  7. Show UserForm based on Cell Value?
    By Bafa in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 07-17-2008, 08:29 PM

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