VBA copy paste into word

klutch

New Member
Joined
Jun 7, 2018
Messages
38
Hello all, I am working on a new project and have no experience with VBA but I understand the concepts of it.
I am trying to copy/paste a singular cell into a word template, I am struggling to find the code to pull up the correct file, as well as not being able to properly copy the range and paste it.
Does anyone have some standard code for this I could use?
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
For clarification, I have data for specific products from a 3rd party software that is exporting data into excel for me. I am working to export this data (one cell) into a word document template that is specific to each product (file name is identical to product#) using macro. Is there a way to code excel so that the data will copy/paste into the specific file for that data? I am also trying to put the data into a specific location within the word doc.
Cell is J2
File path is Libraries\Documents and file name is Template.doc
<div class="postfoot"><!-- -->
progress.gif
 
Upvote 0

Forum statistics

Threads
1,214,845
Messages
6,121,902
Members
449,053
Latest member
Guy Boot

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top