Looking for assistance to help get past Microsoft Office Security Notice (This Location May be Unsafe)
Have added command button in Worksheet to act as a hot link to open the noted Database.
Code runs & Pops you imediatelty into lotus notes where database is & sits. Click back on your Excel file to find the MS Security Warning as noted above has popped up to hold up progress. As soon as you click ok to the warning, it immediately launches the Database as desired....
Is there a way to;
1)temporarily turn off this notification & turn back on at the end of the code.
or
2) add into the VBA code that this is an accepted location
or
3) or by VBA say ok to the Security warning?
Sub Link_to_Client_Database()
'
Application.ScreenUpdating = False
On Error Resume Next
AppActivate "Lotus Notes"
If Not Err.Number = 0 Then
Err.Clear
MsgBox "Open your Lotus Notes and proceed to GL Database", vbInformation, "GL Database"
Else
Application.ThisWorkbook.FollowHyperlink Address:="Notes:XPro13\Client\ClientD_Base.nsf", NewWindow:=True
End If
Exit Sub
Application.ScreenUpdating = Truee
End Sub
Have added command button in Worksheet to act as a hot link to open the noted Database.
Code runs & Pops you imediatelty into lotus notes where database is & sits. Click back on your Excel file to find the MS Security Warning as noted above has popped up to hold up progress. As soon as you click ok to the warning, it immediately launches the Database as desired....
Is there a way to;
1)temporarily turn off this notification & turn back on at the end of the code.
or
2) add into the VBA code that this is an accepted location
or
3) or by VBA say ok to the Security warning?
Sub Link_to_Client_Database()
'
Application.ScreenUpdating = False
On Error Resume Next
AppActivate "Lotus Notes"
If Not Err.Number = 0 Then
Err.Clear
MsgBox "Open your Lotus Notes and proceed to GL Database", vbInformation, "GL Database"
Else
Application.ThisWorkbook.FollowHyperlink Address:="Notes:XPro13\Client\ClientD_Base.nsf", NewWindow:=True
End If
Exit Sub
Application.ScreenUpdating = Truee
End Sub