Quote:
Originally Posted by Shelley Lou
Macropod, I have just run DemoB and works perfectly if there are no cross reference fields within the document but appears to bug if there are cross reference fields.
Code:
.Start = .Words(2).Start
|
You could insert:
Code:
ActiveWindow.ActivePane.View.ShowFieldCodes = True
after:
Code:
Application.ScreenUpdating = False
and:
Code:
ActiveWindow.ActivePane.View.ShowFieldCodes = False
before:
Code:
Application.ScreenUpdating = True