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 / June 2007

Tip: Looking for answers? Try searching our database.

Automate bookmark naming of formfields

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
rachitm@gmail.com - 21 Jun 2007 22:44 GMT
I have a macro that adds a row (with formfields) to a 3 column table.
Is there a way I can take care of the naming convention for the
formfields?

Eg.

When the macro is used the first time....the first row is inserted
with 3 formfields -

Column1 formfield would have a bookmark name: text1
Column2 formfield would have a bookmark name: text2
Column3 formfield would have a bookmark name: text3....

If the macro is used again...the second row is inserted with 3
formfields -

Column1 formfield would have a bookmark name: text4
Column2 formfield would have a bookmark name: text5
Column3 formfield would have a bookmark name: text6....and so on...

All help is appreciated!
Doug Robbins - Word MVP - 23 Jun 2007 10:05 GMT
See the article "How to assign a Name to a FormField that doesn't already
have a Name, using VBA" at:

http://www.word.mvps.org/FAQs/MacrosVBA/AssignNameToFmFld.htm

Signature

Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

>I have a macro that adds a row (with formfields) to a 3 column table.
> Is there a way I can take care of the naming convention for the
[quoted text clipped - 17 lines]
>
> All help is appreciated!
Graham Mayor - 23 Jun 2007 10:48 GMT
See also http://gregmaxey.mvps.org/Rename_Formfields_Globally.htm

Signature

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor -  Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>

> See the article "How to assign a Name to a FormField that doesn't
> already have a Name, using VBA" at:
[quoted text clipped - 22 lines]
>>
>> All help is appreciated!
rachitm@gmail.com - 26 Jun 2007 22:00 GMT
This works! The combination of globally naming fields and then locking
them down worked!! Great! Thank you for all your help!!
 
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.