I've got a Word Macro(SubRoutine) that lives in Normal.dot. It's been working fine for the past five years in both Word97 and Word2000. Several folks have been upgraded to Office2003 lately and for them the macro is broke. The sub itself isn't extraordinary in any way, it does some formatting to however many pages are in a document that the user opens. Anyway, it blows up at the first line:
The error is: Object variable or With block variable not set. In the VBEditor it appears that the error is pointing at ActiveWindow.View.SplitSpecial. Intellisense recognizes everything and there are no missing references. Any ideas why this would pop up now with Word2003?
Thanks in advance for any insights.
Code:
Sub Barcode()
If ActiveWindow.View.SplitSpecial <> wdPaneNone Then
ActiveWindow.Panes(2).Close
End If
............
Thanks in advance for any insights.