+ Reply to Thread
Results 1 to 5 of 5

How do I output a text box to a cell?

  1. #1
    Registered User
    Join Date
    11-01-2004
    Posts
    67

    How do I output a text box to a cell?

    I'd like to take the contents of a text box in excel and output it to a cell. I just can't figure out how to do it. Is there a formula way of doing it, or will I have to use VBA?

    I've named the text box Product_Name, if that helps...

    Many thanks,

    Chris

  2. #2
    Forum Expert sweep's Avatar
    Join Date
    04-03-2007
    Location
    Great Sankey, Warrington, UK
    MS-Off Ver
    2003 / 2007 / 2010 / 2016 / 365
    Posts
    3,454
    Please Login or Register  to view this content.
    Will copy the contents of your text box to the currently active cell.

    hth
    Dave

  3. #3
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,525
    Private Sub Product_Name_Change()
    Range("A1") = Product_Name
    End Sub

  4. #4
    Forum Expert
    Join Date
    12-29-2004
    Location
    Michigan, USA
    MS-Off Ver
    2013
    Posts
    2,208
    Is this text box from the Pictures toolbar, Forms toolbar, or Controls toolbar? If it's not from the Pictures toolbar, you can simply go into properties and input the cell address in the Linked Cell property.

    HTH

    Jason

  5. #5
    Registered User
    Join Date
    11-01-2004
    Posts
    67
    Thank you all for your replies.

    I went with Jason's solution in the end. There isn't a Linked cell option on the format control right click menu like there is on combo boxes and the like, but there is one in the properties section of the right click menu.

    Thanks again!

    Chris

+ 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