ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Microsoft Security Warning (https://www.excelbanter.com/excel-programming/426213-microsoft-security-warning.html)

K[_2_]

Microsoft Security Warning
 
Hi all, I got macro set on a button (see below)

Private Sub CommandButton1_Click()
ActiveWorkbook.FollowHyperlink Address:="C:\My Doc\Record.html",
NewWindow:=True
End Sub

The problem is that when I click on the button I get a Microsoft
Security Warning saying "Some Hyperlink can be harmful. Do you want
to continue" . Is there way that I don’t get this warning although
macro does display the web page when I click on "Yes" but still i dont
want this warning to appear. Please can any friend can help


All times are GMT +1. The time now is 05:46 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com