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

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.

Forum statistics

Threads
1,214,833
Messages
6,121,868
Members
449,053
Latest member
Mesh

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