Consulting

Results 1 to 2 of 2

Thread: Solved: Reference a Forms Textbox to a Cell Range

  1. #1

    Solved: Reference a Forms Textbox to a Cell Range

    I Have a Form as a user input in Excel.

    in this form i have 2 text boxes
    i want to be able to display a value from a range in one of my excel sheets in these text boxes.

    is this possible?

  2. #2
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    [vba]

    TextBox1.Text = Worksheets("Sheet1").Range("A1").Text
    [/vba]
    ____________________________________________
    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
  •