VBA macro to check whether active document is opened in"compatibility mode"

  • Thread starter Thread starter eecsbear
  • Start date Start date
E

eecsbear

anybody know how to check programmatically (with VBA code) whether the
active document in Word was opened in "compatibility mode"?

basically, I am trying to find out if the active document is currently
a "Word Document" file, or a "Word 97-2003 Document" file, etc?

thanks in advance,
lj
 
If Right(ActiveDocument.Name, 1) = "c" then the document is openeid in
compatibiity mode.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP
 
Back
Top