Disable Messages in word from within Access (1 Viewer)

ram_rtg

Registered User.
Local time
Tomorrow, 03:45
Joined
Jun 18, 2015
Messages
47
I am using MS Access to automate a process which involves opening multiple MS Word files.

I am trying to find a way that I can open them via VBA without any warning messages coming up. If someone has to sit here and click OK it defeats the purpose.

I know I can use Application.DisplayAlerts = False but that will not work from within Access. It has to be from within Word.

I've looked into command line switches that Ican add when specifying the path of the application but there aren't any there that can do the trick.

Is there a way I can pass this through to the Word application?
 

JHB

Have been here a while
Local time
Today, 20:15
Joined
Jun 17, 2012
Messages
7,732
..
I am trying to find a way that I can open them via VBA without any warning messages coming up. ..
What is the warning message?
What should happen with the documents after they are opened?
 

ram_rtg

Registered User.
Local time
Tomorrow, 03:45
Joined
Jun 18, 2015
Messages
47
Thanks for your help. The message is a MS VBA information one.

It is coupled with the Enable content button in the Yellow bar.

Please see attached.
 

Attachments

  • L_DF5B.tmp.PNG
    L_DF5B.tmp.PNG
    3.2 KB · Views: 67

Cronk

Registered User.
Local time
Tomorrow, 04:15
Joined
Jul 4, 2013
Messages
2,772
You could take the macros out of the word documents, or make the folder/s trusted locations.
 

Users who are viewing this thread

Top Bottom