Can not open a .xlsm from folder on c: drive.

xluserg

Board Regular
Joined
Jan 30, 2010
Messages
121
Office Version
  1. 365
Platform
  1. Windows
Hi all

I have an excel file open and in this file I have cells with a links to some .xlsm files that I would like to open. but recently I get a message saying...

Microsoft Office

Opening C:\ test\001,xlsm

Some files can contain viruses or otherwise be harmful to your computer,
It is important to be certain that this file is from a trustworthy source.

Would you like to open this file?

Been trying the last couple of days to correct this with no joy.

Any help appreciated.

Office 365 Excel 2016 64bit

Windows 10 64bit



Graham
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
You can add that folder to the "trusted location" in File > Options > Trust Center
 
Upvote 0
Hi

I have aready added the folder to the Trusted locations and still does not open files. I did forget to say I am opening by vba code which I get the message and also get the message when clicking on the linked cell.

Selection.Hyperlinks(1).Follow NewWindow:=False, AddHistory:=True

Thanks for the help

Graham
 
Last edited:
Upvote 0
I cannot replicate that behaviour, so not sure what to suggest.
 
Upvote 0
Sorry I couldn't have been more help.
 
Upvote 0

Forum statistics

Threads
1,214,573
Messages
6,120,310
Members
448,955
Latest member
Dreamz high

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