+ Reply to Thread
Results 1 to 4 of 4

Textbox AutoPopulate

  1. #1
    Registered User
    Join Date
    10-31-2012
    Location
    Fargo
    MS-Off Ver
    Excel 2010
    Posts
    17

    Textbox AutoPopulate

    Ok so really really really simple question that google can't comprehend.

    I need a textbox in a userform to have the value assigned in A1 when a checkbox is activated.

    Please Login or Register  to view this content.
    I am going to add more lines to the if statement later but what am I doing wrong?
    Last edited by dgingrey; 09-03-2013 at 03:58 PM.

  2. #2
    Registered User
    Join Date
    07-02-2013
    Location
    Seattle, WA
    MS-Off Ver
    Excel 2007
    Posts
    93

    Re: Why is this so hard?

    removed, didn't apply. updated below.
    Last edited by sperry2565; 09-04-2013 at 03:24 PM.

  3. #3
    Registered User
    Join Date
    10-31-2012
    Location
    Fargo
    MS-Off Ver
    Excel 2010
    Posts
    17

    Re: Textbox AutoPopulate

    I am not sure how that code helps me sperry2526. It is a bit over my head but if I am reading it right it populates the cells not the userform. I have a spreadsheet with pricing data in it. When I open the workbook a userform pops up with a checkboxes. When you select a checkbox the text box beside it needs to display the information in the spreadsheet. For instance if I select checkbox1 then textbox1 should equal the value of A1 if I select checkbox textbox two should equal the value of A2 and so on. I can't get the textbox.value thought to equal the cell. Which is where my problem lies.

  4. #4
    Registered User
    Join Date
    07-02-2013
    Location
    Seattle, WA
    MS-Off Ver
    Excel 2007
    Posts
    93

    Re: Textbox AutoPopulate

    Okay assuming the name of your text box is SbTt and your check box is Drv1 then

    Please Login or Register  to view this content.
    Would another sheet be selected while you do this or would you be looking at the page you're pulling the information from? You could activate the sheet you want to pull the information from when the box is checked...see code. I assumed your sheet was named currency. If not just change the name.

    Also my original code populates the text box, not the excel spreadsheet, it just does it on a widescale, as I explained in the post, it's user selected ranges.
    Last edited by sperry2565; 09-03-2013 at 02:54 PM.

+ 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] Bit of a hard one...
    By SimonBlackburn in forum Excel General
    Replies: 2
    Last Post: 05-06-2012, 02:12 PM
  2. Here's a hard one.
    By Lythande in forum Excel General
    Replies: 4
    Last Post: 11-27-2008, 10:14 PM
  3. hard one
    By farfromapro in forum Excel General
    Replies: 3
    Last Post: 10-26-2006, 08:34 AM
  4. Hard One.
    By Chris S. in forum Excel General
    Replies: 1
    Last Post: 08-24-2005, 12:05 AM
  5. This is a hard one...
    By goodfella in forum Excel General
    Replies: 4
    Last Post: 06-17-2005, 01:31 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