S
shane
VBA macro, which replaces header text when recorded, does
NOT replace header text when called.
I then forced macro into header and it replaces fine, but
the ActiveWindow.ActivePane.View.NextHeaderFooter goes into
an infinite loop.
Tried getting section number using old WordBasic command
(SelInfo(2)), as well as page number (SelInfo(3))
NewPg = WordBasic.SelInfo(3)
then compairing "NewPg" with prior page variable "OldPg".
Variables don't seem to fill.
Any suggestions appreciated. THANK YOU.
NOT replace header text when called.
I then forced macro into header and it replaces fine, but
the ActiveWindow.ActivePane.View.NextHeaderFooter goes into
an infinite loop.
Tried getting section number using old WordBasic command
(SelInfo(2)), as well as page number (SelInfo(3))
NewPg = WordBasic.SelInfo(3)
then compairing "NewPg" with prior page variable "OldPg".
Variables don't seem to fill.
Any suggestions appreciated. THANK YOU.