Sep 21 2023 06:29 AM
Hello everyone,
Apologies for improper formatting or confusing wording for my question.
I'm trying to link a downloadable word worksheet into excel in a way that a copy of the original word file will be downloaded each time it is accessed from excel. I want multiple users to click on the word link and fill out the forms without editing the original copy. They will primarily be interfacing with this through office 365.
I'd appreciate any advice, or if you have an alternative recommendation for accomplishing my tas!
Thank you.
Sep 21 2023 06:35 AM
Hi @johngallagher,
Yes, you can create a link in Excel that allows users to download a Word document without editing the original copy. Here are the instructions:
When a user clicks the link, they will be prompted to download a copy of the Word document. The original Word file will remain unchanged.
Here is a link to a Microsoft support article on how to create hyperlinks in Excel: https://support.microsoft.com/en-au/office/hyperlink-function-333c7ce6-c5ae-4164-9c47-7de9b76f577f
Please click Mark as Best Response & Like if my post helped you to solve your issue.
This will help others to find the correct solution easily. It also closes the item.
If the post was useful in other ways, please consider giving it Like.
Kindest regards,
Leon Pavesic
Sep 21 2023 06:44 AM
Sep 21 2023 06:53 AM
SolutionHi @johngallagher,
Unfortunately, there is no direct way to create a link in Excel that will open a copy of the Word document immediately. When a user clicks on a hyperlink in Excel, they will always be taken to the original document, regardless of whether it is stored locally or online.
You can try to use a workaround with macro in Excel that will download the Word document and open it in a new window:
Sub DownloadAndOpenWordDocument()
'Declare variables
Dim wordApp As Object
Dim wordDoc As Object
Dim downloadPath As String
'Create a new instance of the Word application
Set wordApp = CreateObject("Word.Application")
'Get the path to the Word document to download
downloadPath = "https://example.com/my-word-document.docx"
'Download the Word document
Set wordDoc = wordApp.Documents.Open(downloadPath)
'Open the Word document in a new window
wordDoc.Visible = True
End Sub
Click the Save button to save the macro.
Now, when you click on the button or press the keyboard shortcut, the macro will run and download the Word document. The Word document will then open in a new window, where you can fill out the form and save it.
Please click Mark as Best Response & Like if my post helped you to solve your issue.
This will help others to find the correct solution easily. It also closes the item.
If the post was useful in other ways, please consider giving it Like.
Kindest regards,
Leon Pavesic
Sep 21 2023 06:55 AM - edited Sep 21 2023 07:15 AM
Thank you!
When I do this, do I then need to add the hyperlink after adding the macro for it to work? I tried adding the link to the word document and then also adding the macro, but it is still linking to the online page.
==edit==
I realized the link needs to be within the macro, my mistake!