Create and populate multiple Word documents and then create a hyperlink to them within Excel

Lectro

New Member
Joined
Jan 24, 2023
Messages
1
Office Version
  1. 365
Platform
  1. Windows
I need to create a word document for every row, using the code in column A as the filename.
The corresponding text in column B needs to be inserted into the created Word document, retaining the formatting.
The hyperlink to the created Word file then needs to be used to update the cell where the code is (in column A) to allow me to click the code and open up that Word document.
If the Word file already exists then it should overwrite it without prompting.

Repeat for 100's of lines, so ideally the creating, opening, pasting, closing all happens unseen to speed the process up.

Any suggestions greatly appreciated. Thanks
 

Attachments

  • Excel question.png
    Excel question.png
    13.4 KB · Views: 6

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)

Forum statistics

Threads
1,215,231
Messages
6,123,754
Members
449,119
Latest member
moudenourd

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