Group:  Microsoft Word ยป microsoft.public.word.vba.beginners
Thread: Change a name (from a list in a txt file) on a document, then print it.

DotNetBag
.NET Development Newsgroups

HTVi
TV Discussion Newsgroups

Our Hot Pick: Rising Antivirus 2006 - Certified by TUV & Checkmark! Get 10% discount by entering this coupon code: ONDISCOUNT10
Rising Antivirus 2006

Change a name (from a list in a txt file) on a document, then print it.
"Julius Mong" <jxm96c[ at ]hotmail.com> 06.02.2006 09:24:12
Dear all,

I am new to word scripting and am wondering if there is a quick way to
change in a document say the name on a certificate and print it? I have a
text file of the names that are to go 1 by 1 on to the cert for printing,
and I'm rather confused by examples found via google... I suppose I need to
put a field at the place where the name should go and have a macro / script
replace that each time with an entry from the txt file and print the doc?
Has anyone got some code that'd do similar?

Any help would be much appreciated and thanks in advance!

Julius


Re: Change a name (from a list in a txt file) on a document, then print it.
"Jezebel" <warcrimes[ at ]whitehouse.gov> 06.02.2006 12:03:58
Read up on MailMerge -- that's precisely what it's for, and you won't need
any scripting at all.


"Julius Mong" <jxm96c[ at ]hotmail.com> wrote in message
news:u$GzU8vKGHA.952[ at ]TK2MSFTNGP10.phx.gbl...
[Quoted Text]
> Dear all,
>
> I am new to word scripting and am wondering if there is a quick way to
> change in a document say the name on a certificate and print it? I have a
> text file of the names that are to go 1 by 1 on to the cert for printing,
> and I'm rather confused by examples found via google... I suppose I need
> to put a field at the place where the name should go and have a macro /
> script replace that each time with an entry from the txt file and print
> the doc? Has anyone got some code that'd do similar?
>
> Any help would be much appreciated and thanks in advance!
>
> Julius
>
>


Re: Change a name (from a list in a txt file) on a document, then print it.
"Doug Robbins - Word MVP" <dkr[ at ]REMOVETHISmvps.org> 06.02.2006 19:00:21
And here's where you will find something to read

"Creating a Mail Merge Data Source" at:

http://www.word.mvps.org/FAQs/MailMerge/CreateADataSource.htm

"How to create a Mail Merge" at:

http://www.word.mvps.org/FAQs/MailMerge/CreateAMailMerge.htm


--
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

"Julius Mong" <jxm96c[ at ]hotmail.com> wrote in message
news:u$GzU8vKGHA.952[ at ]TK2MSFTNGP10.phx.gbl...
[Quoted Text]
> Dear all,
>
> I am new to word scripting and am wondering if there is a quick way to
> change in a document say the name on a certificate and print it? I have a
> text file of the names that are to go 1 by 1 on to the cert for printing,
> and I'm rather confused by examples found via google... I suppose I need
> to put a field at the place where the name should go and have a macro /
> script replace that each time with an entry from the txt file and print
> the doc? Has anyone got some code that'd do similar?
>
> Any help would be much appreciated and thanks in advance!
>
> Julius
>
>


Re: Change a name (from a list in a txt file) on a document, then print it.
"Julius Mong" <jxm96c[ at ]hotmail.com> 07.02.2006 07:30:42
Great, thanks for help! :-)

Cheers,
Jules


Home | Search | Terms | Imprint | Contact
Newsgroups Reader - provided by WiredBox.Net