+ Reply to Thread
Results 1 to 2 of 2

excel copy and paste visual basic

  1. #1
    Registered User
    Join Date
    02-27-2007
    Posts
    1

    Smile excel copy and paste visual basic

    so this is my first coding experience and im learning on the fly, so i dont have a real good background on VBA but i have written my macro to open up the themplate and place all the charts i need from the excel document into this word report we consistently use. My propblem comes where i need to insert the information from one cell into the word report in the middle of a paragraph. i can not get the macro to paste to word without inserting it as a cell, rather than the text that is inside the cell. any help would be greatly appreciated.

  2. #2
    Forum Expert
    Join Date
    11-23-2005
    Location
    Rome
    MS-Off Ver
    Ms Office 2016
    Posts
    1,628
    You can use this code:
    to use the code (when open excel) choose Tools menu, then References and from the list select 'Microsoft Word xx.0 Object Library'

    Please Login or Register  to view this content.
    I hope it's what you need.

    Regards,
    Antonio

+ 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