Hi,
How can I find out which format is the document? I know about wdSaveFormat
and wdOpenFormat enumerations which I can use during save and open, but how
can I find out if the opened document is for example in XML?
Thanks,
Jan
Cindy M. - 29 Aug 2006 09:15 GMT
Hi Jan,
> How can I find out which format is the document? I know about wdSaveFormat
> and wdOpenFormat enumerations which I can use during save and open, but how
> can I find out if the opened document is for example in XML?
Query the SaveAs dialog box with the document in question being the active
document:
If Dialogs(wdDialogFileSaveAs).Format = wdSaveXML Then
Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org
This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :-)