Do this if there is an Active Document Open

N

Nicole

How can I say to do the following ONLY if there is an active document open?

With ActiveDocument
.ReadOnlyRecommended = False
.EmbedTrueTypeFonts = False
.SaveFormsData = False
.SaveSubsetFonts = False
.DoNotEmbedSystemFonts = True
.Password = ""
.WritePassword = ""
.DisableFeatures = True
.DisableFeaturesIntroducedAfter = wd70
.EmbedSmartTags = True
.SmartTagsAsXMLProps = False
.EmbedLinguisticData = True
End With
 
M

Malcolm Smith

I love it when people write:

If Documents.Count <> 0 then

I am still trying to work out how one can have a negative document count.
But, then again, I have never worked for Enron...

- Malc
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top