Warning message

WILYWAYNE11

New member
Local time
Today, 08:10
Joined
Aug 27, 2022
Messages
20
I have introduced a HYPERLINK onto a form that will open a file in Word. When I activate the link, I keep getting a red message warning me of a hazard. The link is secure and I would like to deactivate the warning. Is this possible???
 
You could try using shell, like...
Code:
VBA.Shell "winword.exe c:\yourpath\yourfile.docx"
...rather than a hyperlink.
 
This could be the result of working in an untrusted area - either for the Access DB or for the Word file. Also, if that is a .DOCX file, it is of a type that can have macros embedded, and (whether it has them or not) usually trips security alarms.
 

Users who are viewing this thread

Back
Top Bottom