+ Reply to Thread
Results 1 to 2 of 2

Copy Paste from TextBox into Word

  1. #1
    Registered User
    Join Date
    09-12-2012
    Location
    gemestio are
    MS-Off Ver
    Excel 2010
    Posts
    53

    Copy Paste from TextBox into Word

    Hi guys,

    what is the code for copy-pasting from a textbox to word? I have the word application set up and open, i just cannot seem to get the copy-paste text right. I am using a word file that is bookmarked and this is how i find the exact location to insert the text.

    thanks,

    Dimitar

  2. #2
    Valued Forum Contributor
    Join Date
    09-21-2011
    Location
    Birmingham UK
    MS-Off Ver
    Excel 2003/7/10
    Posts
    2,188

    Re: Copy Paste from TextBox into Word

    You will need to get the value from the text box, then put it in word, dont copy and paste, just use strTextVal = me.textbox1.value

    then the word code to insert text at your bookmark.
    Hope this helps

    Sometimes its best to start at the beginning and learn VBA & Excel.

    Please dont ask me to do your work for you, I learnt from Reading books, Recording, F1 and Google and like having all of this knowledge in my head for the next time i wish to do it, or wish to tweak it.
    Available for remote consultancy work PM me

+ 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. Replies: 2
    Last Post: 04-29-2014, 10:06 AM
  2. [SOLVED] Copy First Three Letters Of Some Textbox And Paste It to Another textbox
    By vijaynadiad in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-19-2013, 01:08 PM
  3. [SOLVED] Copy First Three Letters Of Some Textbox And Paste It to Another textbox
    By vijaynadiad in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-08-2013, 03:46 PM
  4. Replies: 1
    Last Post: 01-16-2013, 05:36 AM
  5. [SOLVED] how do i draw a textbox on chart and copy onto word?
    By miko in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 03-12-2005, 01:06 AM

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