L
Legal Beagle 2
I have a VBA macro running in Word 2003 on XP. One of my users is seeing this:
Template error 0, App_WindowSelectionChange method 'StoryType' of object
'Selection' failed
The line in question is:
/===========
57620 If Selection.StoryType = wdMainTextStory Then
\===========
I know that there is a Selection and that it is valid because there are
numerous references to Selection in the preceding code. A few examples:
/===========
57530 numMarks = Selection.Bookmarks.Count
57550 Set mark = Selection.Bookmarks(i)
57590 BMArray(LastBMCount) = Selection.Bookmarks(Index).Name
\===========
Under what conditions would Selection.StoryType fail given that there is a
valid Selection?
Thank you.
Template error 0, App_WindowSelectionChange method 'StoryType' of object
'Selection' failed
The line in question is:
/===========
57620 If Selection.StoryType = wdMainTextStory Then
\===========
I know that there is a Selection and that it is valid because there are
numerous references to Selection in the preceding code. A few examples:
/===========
57530 numMarks = Selection.Bookmarks.Count
57550 Set mark = Selection.Bookmarks(i)
57590 BMArray(LastBMCount) = Selection.Bookmarks(Index).Name
\===========
Under what conditions would Selection.StoryType fail given that there is a
valid Selection?
Thank you.