+ Reply to Thread
Results 1 to 5 of 5

Copy and Paste text from a cell to a text box

  1. #1
    Registered User
    Join Date
    09-02-2009
    Location
    Perth, Australia
    MS-Off Ver
    Excel 2003
    Posts
    3

    Copy and Paste text from a cell to a text box

    I am looking for VBA code to copy text from a excel cell into a certain place in a text box. Both the cell and text box are in the same worksheet.

    For the example the cell is =K15 and the Text Box is named Text Box 2 which has some text already in it and I want the text from the cell to be pasted in the text box 4 lines down.

    Any help is appreciated.


  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Copy and Paste text from a cell to a text box

    What kind of textbox are you using?
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Registered User
    Join Date
    09-02-2009
    Location
    Perth, Australia
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Copy and Paste text from a cell to a text box

    The text box created from the draw tool bar.

  4. #4
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Copy and Paste text from a cell to a text box

    Select the TextBox then in the Formula bar type =A1, any entry in A1 will appear in the TextBox

  5. #5
    Registered User
    Join Date
    09-02-2009
    Location
    Perth, Australia
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Copy and Paste text from a cell to a text box

    I appreciate your help. Thanks.

+ 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