MyPage is a personalized page based on your interests.The page is customized to help you to find content that matters you the most.


I'm not curious

How to disable alert messages when opening word document using vbs ?

0
Started on: 02 March 13
Is there any way to hide or disable the alert message when open word documents

I tried objword.DisplayAlerts = False in my vbs script.

I used the below function to open word document and save as text file
Set objWord = CreateObject("Word.Application")
Set objDoc = objWord.Documents.Open("Myfile.doc")
objDoc.SaveAs "C:\Myfile.txt", 2
objDoc.Close
objWord.Quit
objword.DisplayAlerts = False

Set objDoc = Nothing
Set objWord = Nothing

Pleas give me some suggestions to solve this
















Is there any way to hide or disable the alert message when open word documents

I tried objword.DisplayAlerts = False in my vbs script.

I used the below function to open word document and save as text file

Set objWord = CreateObject("Word.Application")
Set objDoc = objWord.Documents.Open("Myfile.doc")
objDoc.SaveAs "C:\Myfile.txt", 2
objDoc.Close
objWord.Quit
objword.DisplayAlerts = False

Set objDoc = Nothing
Set objWord = Nothing

Pleas give me some suggestions to solve this

This challenge is listed under Development & Implementations Community

Related Posts:

Visual Basic (VB)

 

Word.Application

 

Initiator

Aravinthan
Aravinthan
  Follow

I am passinate about IT & PHP , Let's do it

More posts by: Aravinthan Asokan

Please to reply this post
Important:
  • We hope the conversations that take place on MyTechLogy.com will be constructive and thought-provoking.
  • To ensure the quality of the discussion, our moderators may review/edit the comments for clarity and relevance.
  • Comments that are promotional, mean-spirited, or off-topic may be deleted per the moderators' judgment.
Awards & Accolades for MyTechLogy
Winner of
REDHERRING
Top 100 Asia
Finalist at SiTF Awards 2014 under the category Best Social & Community Product
Finalist at HR Vendor of the Year 2015 Awards under the category Best Learning Management System
Finalist at HR Vendor of the Year 2015 Awards under the category Best Talent Management Software
Hidden Image Url

Back to Top