Consulting

Results 1 to 2 of 2

Thread: Entering Selected Cell Values in Multiple Textboxes

  1. #1
    VBAX Regular
    Joined
    Dec 2008
    Posts
    86
    Location

    Smile Entering Selected Cell Values in Multiple Textboxes

    Dear Friends

    I have a userform with a number of textboxes. The user needs to click inside each text box and then goes on to click a cell in a sheet, which will put the value of the cell in the textbox. The user then moves into the next textbox and follows the same process.

    My question is how can i put the the value of the cell to the textbox, since the user is free to choose any cell.
    I am trying to write the code in Worksheet_Change event but to no avail .

    Hoping for some positive and helpful replies .

    Regards,
    Kishlaya

  2. #2
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    Why not add a small button next to each textbox that the user clicks and then they get an InputBox to select the cell, when selected, dump the textbox onto that cell.
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •