Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / March 2007

Tip: Looking for answers? Try searching our database.

Code to bypass question of updating wordfile

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Arild Grimstad - 09 Mar 2007 14:22 GMT
I'm using a vba code to open documents, changing the path to attached
template, and then save and close.
This is the last part of the code, with no parameters or settings:
        objDoc.Save
        objDoc.Close

For older files in Word6 or 95 format, word stops the code and displays a
dialogbox saying

"docname is word version6, Do you want to update? Click Yes to overwrite"

With some hundreds of docs, this is an event I would like to bypass. Anyone
with a solution on how to do that?

Ag.
Jezebel - 10 Mar 2007 21:11 GMT
Instead of using Save use SaveAs, using the same filename and specifying the
format you want to save in.

> I'm using a vba code to open documents, changing the path to attached
> template, and then save and close.
[quoted text clipped - 11 lines]
>
> Ag.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.