Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / April 2005

Tip: Looking for answers? Try searching our database.

update fields in headers & footers using vba

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Loretta - 15 Apr 2005 22:17 GMT
Using Word 2003 on Windows XP

We have a bunch of big documents we are converting from paper to electronic.
These documents switch back and forth frequently between text in portrait,
and drawings in landscape.  All pages have their headers and footers in
“portrait” (so we can’t simply select “same as previous”).  We have some
information in the headers and footers that has to be changed each time we
make revisions to the document.

I am trying to use ASK fields and have REF fields in the headers/footers to
update this info when required.  I’m having trouble getting the REF fields to
update.  Doing a <CNTL>A and then an <f9> does not update the fields in the
headers.

I need a macro that will enter the headers AND footers, and update the
fields in ALL the headers/footers.

If I'm doing this the hard way, I'm open to alternative suggestions.

thanks
--
Loretta
Charles Kenyon - 16 Apr 2005 00:02 GMT
See the macro at http://www.gmayor.com/installing_macro.htm. This
will pick up all headers/footers.

Signature

Charles Kenyon

Word New User FAQ & Web Directory: http://addbalance.com/word

Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide) http://addbalance.com/usersguide

See also the MVP FAQ: http://www.mvps.org/word which is awesome!
--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.

> Using Word 2003 on Windows XP
>
[quoted text clipped - 22 lines]
> --
> Loretta
Loretta - 18 Apr 2005 21:30 GMT
That did the job (once I put the landscape headers in a table in a frame),
Thank You.

But I was really hoping for was something that only updated fields in the
header/footer. Anyone have a suggestion for that?
--
Loretta

> See the macro at http://www.gmayor.com/installing_macro.htm. This
> will pick up all headers/footers.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.