S
SWT
I know it is possible to have a field in the header/footer to have two
different styles, I'm just not sure how to do it via VBA. To be more
specific, I'm putting an IF field into the header/footer, and I only want it
to show on certain pages (ie. IF PAGE = NUMPAGES "True Text" "False Text"). I
have the field working perfectly with the autotext, but what I'm having
trouble with is getting the "True Text" to be a different style from the
"False Text". I am able to do it by manually selecting the field code in the
document and switching the style, but is there a way to do it in VBA?
Thanks for the help in advance.
different styles, I'm just not sure how to do it via VBA. To be more
specific, I'm putting an IF field into the header/footer, and I only want it
to show on certain pages (ie. IF PAGE = NUMPAGES "True Text" "False Text"). I
have the field working perfectly with the autotext, but what I'm having
trouble with is getting the "True Text" to be a different style from the
"False Text". I am able to do it by manually selecting the field code in the
document and switching the style, but is there a way to do it in VBA?
Thanks for the help in advance.