B
Bob
I don't want to run my macro if a document is "new", i.e., has never been
saved as a file. Checking activedocument.saved doesn't work, because if
it's a new, unaltered document, ad.saved is True.
Looking through the document properties, I've found that the following seem
to indicate a never-saved document:
ad.path = ""
right(ad.fullname,3)<>"doc"
Are there cases where the above checks would not work? Is there another
property I'm missing?
Thanks,
Bob
saved as a file. Checking activedocument.saved doesn't work, because if
it's a new, unaltered document, ad.saved is True.
Looking through the document properties, I've found that the following seem
to indicate a never-saved document:
ad.path = ""
right(ad.fullname,3)<>"doc"
Are there cases where the above checks would not work? Is there another
property I'm missing?
Thanks,
Bob