Word as Email Editor

D

David

General Question:
What characteristics of Word or the particular document are they that
display as an email editor, rather than a normal document? How can one tell
from VBA which mode a document represents?

Specific:
Word always seems to start up with the window mode in which it was last used
ie Full Screen or smaller window. I would like to start all normal documents
up full-screen but the email editor as a smaller window eg by code in the
document open event. How would I do this, please? Are there any settings that
would help, without involving VBA?

David
 
C

champollion.yves

David said:
General Question:
What characteristics of Word or the particular document are they that
display as an email editor, rather than a normal document? How can one tell
from VBA which mode a document represents?

you know that a document is actually an email being edited in Outlook
(with Outlook setup to use Ms-Word as editor) by looking up the
document's kink property:

If ActiveDocument.Kind = wdDocumentEmail Then...
Specific:
Word always seems to start up with the window mode in which it was last used
ie Full Screen or smaller window. I would like to start all normal documents
up full-screen but the email editor as a smaller window eg by code in the
document open event. How would I do this, please? Are there any settings that
would help, without involving VBA?

I don't think so, since you're testing a condition (is this an email?
If so then...else ...). VBA coding will be needed, and would look like
that:

If ActiveDocument.Kind = wdDocumentEmail Then
ActiveWindow.WindowState = wdWindowStateNormal
Else
ActiveWindow.WindowState = wdWindowStateMaximize
End If

HTH,
Yves Champollion
www.champollion.net
 

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