How can I see (using VBA or API or a registry call) if a Word 2007 user has 'Save all documents as 2003' turned on?

Posted on 2012-09-21
Last Modified: 2012-09-21
Dear Experts,

I'm saving Word documents from an MS-Access application. I've noticed users cannot open these documents without errors if the filename ends with .docx but the user has told Word to save all documents as 2003 .doc files by default.

So a 2003 document that's saved as .docx is giving me problems.

Is there a way to find out (from Access' VBA) whether the user has 'Save as 2003' turned on? That would enable me to generate correct filenames.

Thank you!
Question by:keimpe
    LVL 7

    Accepted Solution

    The registry entry:
    For Word 2010: HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Word\Options\DefaultFormat
    For Word 2007: HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Word\Options\DefaultFormat

    This entry contains "Doc" if default saving is to the .doc format.
    By defualt, this value is not set, which means docx.
    LVL 1

    Author Comment

    Thanks! I'll give that a shot and let you know.
    LVL 1

    Author Closing Comment

    Works great, thanks!

    Featured Post

    Enabling OSINT in Activity Based Intelligence

    Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

    Join & Write a Comment

    Suggested Solutions

    I would like to show you some basics you can do with Mailings in MS Word. It´s quite handy feature you can use for creating envelopes, labels, personalized letters etc. First question could be what is this feature good for? Mailing can really he…
    Preface: When I started this series, I used the term CommandBars because that is the Office Object class that it discusses. Unfortunately, when Microsoft introduced Office 2007, they replaced the standard Commandbar menus with "The Ribbon" and rem…
    Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…
    In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    23 Experts available now in Live!

    Get 1:1 Help Now