G
Greg Oij
I've been looking at the MVP website trying to decipher
the difference in VBA between:
Dim dDOC as Document
dDoc = Documents.Add
Documents(dDoc).Activate
AND
Dim iWinNumb as Integer
dDoc = Documents.Add
iWinNumb = ActiveWindow.Index
Windows(iWinNumb).Activate
Does anyone know which is more reliable for activating a
given Window or Document in Word's VBA? (esp. Word 2003)
the difference in VBA between:
Dim dDOC as Document
dDoc = Documents.Add
Documents(dDoc).Activate
AND
Dim iWinNumb as Integer
dDoc = Documents.Add
iWinNumb = ActiveWindow.Index
Windows(iWinNumb).Activate
Does anyone know which is more reliable for activating a
given Window or Document in Word's VBA? (esp. Word 2003)