I am using a "SendKey" macro in my database and it works ok except the first time I use it it shows a warning message and when I click ok it turns off the Numeric Lock. How can I prevent the warning message from coming up and avoid the Numeric Lock from being turned off? The database is in a trusted location and I am using Access 2007 with Windows Vista. Help!
I have the setwarnings on "no" in the macro and the following message still comes up: "Microsoft Office Access Security Notice
A potential security concern has been identified.
Warning: It is not possible to determine that this content came from a trustworthy source. You should leave this content disabled unless the content provides critical functionality and you trust its source.
File Path: C:\.. -FT OFFICE\OFFICE1\ACCWIZ\UTILITY.ACCDA
This file might contain unsafe content that could harm your computer. Do you want to open this file or cancel the operation?
More information
Open"
I also tried the "DoCmd.SetWarnings False" in the "On Open" property and the same thing happens. Any suggestions on how I can get around this?
"My Documents" folder which contains all my files is declared a trusted location. I am assuming that that includes all subfolders.
joekuhn