Prevent Office 2003 Message "Would you like to open this file ?"

vodkasoda

Board Regular
Joined
Aug 12, 2004
Messages
86
I am using a hyperlink command to run an external application from an Excel 2003 VBA program :

Code:
ThisWorkbook.FollowHyperlink "e:\KIK Files\" & TeamDetsTeam & ".KIK"

I am getting a pop-up window that says ...

Opening e:\KIK Files\TEAMNAME.KIK

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?


Now, I can find instructions on how to prevent this, under the following heading, "How to disable hyperlink warning messages in Office 2003" at http://support.microsoft.com/kb/829072 ... However, these instructions do not relate to my PC, which runs Vista Home Premium, so I am guessing that they are XP instructions.

Can anybody explain to me how to prevent getting this pop-up message in Vista ?!?

Thanks in advance ...
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
Try:
Rich (BB code):
Rich (BB code):
Rich (BB code):
Application.DisplayAlerts = False
ThisWorkbook.FollowHyperlink "e:\KIK Files\" & TeamDetsTeam & ".KIK"<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p>
Application.DisplayAlerts = True<o:p></o:p>
<o:p></o:p>
 
Upvote 0

Forum statistics

Threads
1,225,357
Messages
6,184,480
Members
453,235
Latest member
dirtisbrown17

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