msvisual.com Forum Index
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Macro to modify fields with a variable bookmark

 
Post new topic   Reply to topic    msvisual.com Forum Index -> DirectX
Author Message
AntiDot



Joined: 04 Oct 2007
Posts: 1

PostPosted: Thu Aug 23, 2007 3:54 am    Post subject: Macro to modify fields with a variable bookmark Reply with quote

Hi there,
I've never worked with macros in Word, but now I need one to automate the
following process in a 500 page document...

In our chapter intros, we want to use links to other chapters:
(see Chapter {SEQ "chapter" mergeformat})

Unfortunately, the authoring program we use do not automate this, and can
only insert the page numbers. So what I have currently is:
(see Chapter {PAGEREG \h})

I can manually edit all the "see Chapter" links, but in a 500 page document,
this will be very time-consuming. So I need a macro to change only the
{PAGEREF \h} fields with the "see Chapter" text to {SEQ
"chapter" mergeformat} while keeping my other "see page"
links intact.

EXPECTED END-RESULT
Page numbers: (see page {PAGEREF \h})
Chapter numbers: (see Chapter {SEQ "chapter" mergeformat}

If you can make life a little easier for me, I'd really appreciate it.
Thanks!

Archived from group: microsoft>public>vb>directx
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    msvisual.com Forum Index -> DirectX All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group