Import the comma delimited file into an Access Database, and use Word's "envelope printing" (i don't recall the actual name). It will let you type a letter, add some imbedded fields which will be filled with data from the .mdb.
It's definitely the fastest, easiest solution. Forget coding in VB. I don't remember how it's done. All i remember is that using Word's help file, it took me about an hour to learn how to do it. Hope it helps Daniel > -----Mensaje original----- > De: HouseDad [mailto:[EMAIL PROTECTED] > Enviado el: Thursday, August 26, 2004 09:12 > Para: [EMAIL PROTECTED] > Asunto: [vbhelp] Create A Document > > > > > New project, new question: > > I have to create a letter which is basically a roster. The > roster information will be read from a comma delimited file which I > have created. > > I want it to look MSWord quality. So, should I create the > document in VB, or use MSWord mail merge, or something else within > it, to read the necessary data from the comma delimited file and just > create the documents in MSWord? I have never created a word document > in VB before, but have seen messages about it in this group before, > so I know it can't be too complicated, but if WORD can do it and you > possibly have experience in this area I would be grateful for any > advice you can offer. > > I have to be able to start printing thousands of these tomorrow, > which should have been started at the beginning of the week by a > printing company, which says it can't handle creating this kind of > letter from a data file. So, I get to do it, in the last moments, as > usual, on a couple of laser printers. But first, I need a way to > create the letters from the data file. > > The solution has to handle multiple pages for the same group of > names to be printed. > > [C] > > > [C] > > > > > > '// ======================================================= > Rules : http://ReliableAnswers.com/List/Rules.asp > Home : http://groups.yahoo.com/group/vbHelp/ > ======================================================= > Post : [EMAIL PROTECTED] > Join : [EMAIL PROTECTED] > Leave : [EMAIL PROTECTED] > '// ======================================================= > > Yahoo! Groups Links > > > > > > ------------------------ Yahoo! Groups Sponsor --------------------~--> $9.95 domain names from Yahoo!. Register anything. http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/k7folB/TM --------------------------------------------------------------------~-> '// ======================================================= Rules : http://ReliableAnswers.com/List/Rules.asp Home : http://groups.yahoo.com/group/vbHelp/ ======================================================= Post : [EMAIL PROTECTED] Join : [EMAIL PROTECTED] Leave : [EMAIL PROTECTED] '// ======================================================= Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/vbhelp/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
