Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Word
application.errors
conversions
docmanagement
drawing.graphics
formatting.longdocs
international
internet.assistant
mail
mailmerge.fields
menustoolbars
newusers
numbering
oleinterop
pagelayout
printingfonts
setup.networking
spelling.grammar
tables
vba.addins
vba.beginners
vba.customization
vba.general
vba.userforms
web.authoring
word6-7macros
word97vba
  
 
date: Mon, 22 May 2006 18:49:15 GMT,    group: microsoft.public.word.vba.userforms        back       


Auto populate form fields   
Hi,

I' wondering if anybody can tell me if there is a way to automate a form
based on the value of a form field. e.go. I have an Excel worksheet listing
each recipients information that I want to insert in various field of a
document based on their response to the first field (e.g. Name). Can VBA be
written that will look at the field, and based on the text in the field, go
to the Excel worksheet and retrieve the proper data?

Thanks,

Rich
date: Mon, 22 May 2006 18:49:15 GMT   author:   Richard

Re: Auto populate form fields   
Probably, but I suspect a mailmerge would be much easier.
-- 
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://word.mvps.org/FAQs/ which is awesome!

My criminal defense site: http://addbalance.com
 --------- --------- --------- --------- --------- ---------
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.


"Richard"  wrote in message 
news:LIncg.19568$LE4.16531@tornado.tampabay.rr.com...
> Hi,
>
> I' wondering if anybody can tell me if there is a way to automate a form
> based on the value of a form field. e.go. I have an Excel worksheet 
> listing
> each recipients information that I want to insert in various field of a
> document based on their response to the first field (e.g. Name). Can VBA 
> be
> written that will look at the field, and based on the text in the field, 
> go
> to the Excel worksheet and retrieve the proper data?
>
> Thanks,
>
> Rich
>
>
date: Mon, 22 May 2006 17:11:14 -0500   author:   Charles Kenyon

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us