Excel template not functioning properly when opened from a hyperlink

doublej41

Board Regular
Joined
Mar 9, 2011
Messages
86
Hi All

I have created an Excel template file for use when inputting data. As part of the system we are implementing this file will be opened by means of a hyperlink from another Excel file.

When double clicking the file to open it directly, the template functions properly i.e. only allows a 'save as'. However, when the file is opened from the hyperlink it does not disable the save function, therefore allowing the user to save over the template.

Does anyone know what might be causing this to happen, and what I can to to prevent it? Any insight will be greatly appreciated.

Thanks

Jonathan
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
Yes, a hyperlink will open the template for editing. The only thing I can suggest is to use a macro to add a new workbook based on the template. Assign it to a shape or CommandButton if you want.
 
Upvote 0
Thanks for the reply; I will look at setting up a macro.

Is there any particular reason a hyperlink causes a template to function incorrectly?
 
Upvote 0
When you choose File|Open to open a template the original is opened for editing. It's only when you choose File|New that you get a copy. A hyperlink does the former.
 
Upvote 0

Forum statistics

Threads
1,224,587
Messages
6,179,736
Members
452,940
Latest member
Lawrenceiow

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