Documents

wdAlertLevelSpecifies the way certain alerts and messages are handled while a macro is running.
wdSelectionTypeSpecifies the different types of selections.
wdStoryTypeSpecifies the story type of an item.
wdAlertLevel
Specifies the way certain alerts and messages are handled while a macro is running.
wdSelectionType
Specifies the different types of selections.
wdStoryType
Specifies the story type of an item.

wdAlertLevel

Specifies the way certain alerts and messages are handled while a macro is running.

wdAlertsNoneDoes not display any alerts or message boxes (0)
wdAlertsAllDisplays all alerts and message boxes (-1)
wdAlertsMessageBoxDisplays only message boxes (-2)

wdAlertsNone
Does not display any alerts or message boxes (0)
wdAlertsAll
Displays all alerts and message boxes (-1)
wdAlertsMessageBox
Displays only message boxes (-2)

wdSelectionType

Specifies the different types of selections.

wdNoSelectionNothing is selected at all (0)
wdSelectionBlockA vertical block of text (6)
wdSelectionColumnA column within a table (4)
wdSelectionFrameA frame (3)
wdSelectionInlineShapeAn inline shape graphic or shape (7)
wdSelectionIPThe insertion point - nothing is actually selected (1)
wdSelectionNormalA normal text selection (2)
wdSelectionRowA row within a table (5)
wdSelectionShapeA floating graphic or shape (not inline) (8)

wdNoSelection
Nothing is selected at all (0)
wdSelectionBlock
A vertical block of text (6)
wdSelectionColumn
A column within a table (4)
wdSelectionFrame
A frame (3)
wdSelectionInlineShape
An inline shape graphic or shape (7)
wdSelectionIP
The insertion point - nothing is actually selected (1)
wdSelectionNormal
A normal text selection (2)
wdSelectionRow
A row within a table (5)
wdSelectionShape
A floating graphic or shape (not inline) (8)

wdStoryType

Specifies the story type of an item.

wdCommentsStory4
wdEndnoteContinuationNoticeStory17
wdEndnoteContinuationSeparatorStory16
wdEndnoteSeparatorStory15
wdEndnotesStory3
wdEvenPagesFooterStory8
wdEvenPagesHeaderStory6
wdFirstPageFooterStory11
wdFirstPageHeaderStory10
wdFootnoteContinuationNoticeStory14
wdFootnoteContinuationSeparatorStory13
wdFootnoteSeparatorStory12
wdFootnotesStory2
wdMainTextStory1
wdPrimaryFooterStory9
wdPrimaryHeaderStory7
wdTextFrameStory5

wdCommentsStory
4
wdEndnoteContinuationNoticeStory
17
wdEndnoteContinuationSeparatorStory
16
wdEndnoteSeparatorStory
15
wdEndnotesStory
3
wdEvenPagesFooterStory
8
wdEvenPagesHeaderStory
6
wdFirstPageFooterStory
11
wdFirstPageHeaderStory
10
wdFootnoteContinuationNoticeStory
14
wdFootnoteContinuationSeparatorStory
13
wdFootnoteSeparatorStory
12
wdFootnotesStory
2
wdMainTextStory
1
wdPrimaryFooterStory
9
wdPrimaryHeaderStory
7
wdTextFrameStory
5


© 2026 Better Solutions Limited. All Rights Reserved. © 2026 Better Solutions Limited Top