K
Kyle
Can anyone tell me why my WindowSelectionChange will work on a Windows
2000/Word 2000 machine and NOT an XP/Word XP machine?
I'm going crazy trying to figure out why this event will not even
attempt to fire on many XP machines.
Thank you,
Kyle
-----------------------------------------------------------------------------
Private Sub objWord_WindowSelectionChange(ByVal Sel As Selection)
On Error Resume Next
modTemplateType.TemplateType
If blnSubmission = True Then
If Sel.StoryType = wdEvenPagesFooterStory Or _
Sel.StoryType = wdEvenPagesHeaderStory Or _
Sel.StoryType = wdFirstPageFooterStory Or _
Sel.StoryType = wdFirstPageHeaderStory Or _
Sel.StoryType = wdPrimaryFooterStory Or _
Sel.StoryType = wdPrimaryHeaderStory Then
ActiveWindow.ActivePane.View.SeekView =
wdSeekMainDocument
ShowHeaderInfoForm
End If
End If
blnSubmission = False
End Sub
2000/Word 2000 machine and NOT an XP/Word XP machine?
I'm going crazy trying to figure out why this event will not even
attempt to fire on many XP machines.
Thank you,
Kyle
-----------------------------------------------------------------------------
Private Sub objWord_WindowSelectionChange(ByVal Sel As Selection)
On Error Resume Next
modTemplateType.TemplateType
If blnSubmission = True Then
If Sel.StoryType = wdEvenPagesFooterStory Or _
Sel.StoryType = wdEvenPagesHeaderStory Or _
Sel.StoryType = wdFirstPageFooterStory Or _
Sel.StoryType = wdFirstPageHeaderStory Or _
Sel.StoryType = wdPrimaryFooterStory Or _
Sel.StoryType = wdPrimaryHeaderStory Then
ActiveWindow.ActivePane.View.SeekView =
wdSeekMainDocument
ShowHeaderInfoForm
End If
End If
blnSubmission = False
End Sub