o
k
q
u
e
s
t
i
o
n
s
.
c
o
m

Merge two tables into one document -

I have two tables. One is a list of clients, and one is a list of data to be sent to all clients. I want to use Word to mailmerge the two together, except that there doesn't seem to be a way to do it!

Any ideas on the best way to go about this? Should I create a multipage document, and then send that via mailmerge? (Can I build the mailmerge document dynamically?)

I already have labels for the clients, so maybe I could generate the mailmerge with the data, and then dynamically add merge fields for the clients?

I hope that I don't have to use VB to do all the merges, but that's the way I see that it can be done.

Thanks for the help!

 

Merge Document Problem -
I have got a merge word document located on my c drive called testmerge.doc(c:\testmerge.doc) . It is pointing to a specific data source. I want to copy the merge result to (c:\temp) and call it testmergeresult.doc - How do i go about doing this in .net?? Please note i dont simply w


Merge Problem -
I have got a merge word document located on my c drive called testmerge.doc(c:\testmerge.doc) . It is pointing to a specific data source. I want to copy the merge result to (c:\temp) and call it testmergeresult.doc - How do i go about doing this in .net?? Please note i dont simply w


Merge two tables into one document -
I have two tables. One is a list of clients, and one is a list of data to be sent to all clients. I want to use Word to mailmerge the two together, except that there doesn't seem to be a way to do it! Any ideas on the best way to go about this? Should I create a multipage documen


Mass Mail Merge Problem - Is there a limit on the MailMerge document size -
Hi, I am using VS 2005. In the initial process of mail merge, if we want to merge 100 records, we will send it one by one for which the windows application stays open throughout the process and the documents will open and close for each record. Now we are trying to merge all 100


Save the mail merge data in the same document... -
Hi, is there any way to save the mail merge data WITH the document?? ATM, i grab the recordset and convert it to a string, then save it as a word document ("Data.doc") (in a table), and then open up another word document and merge off Data.doc (all programmatically)


Something Similar -
I need something to control a microsoft word mail merge document. i have the database and the merge document setup already i just need something that will trigger the document and possibly even print it, but triggering it is the main problem, any help?? thanks in advance


VBA or VB -
Hello Everyone, I have a major problem that I'm struggling with and I was wondering if anyone would be kind enough to help me out. I need to create a Mail Merge program. We have an Access Client Database that needs to be merged with our word 200 document. The mail merge program mu


Word Merging Sometimes -
I would appreciate any help. I am doing a mail merge in VB and my document doen't always merge. My code is below. When Word opens it opens the document o_senclmltr.dot but does not always perform the merge. (It only works sometimes and I can not find a consistant basis as to why


Word Merge Document -
In one of my programs I create a document using VB code. I would like to copy another existing word document into the middle of the one I am creating. I think the way to do it is wdApp.ActiveDocument.Merge (App.Path & "\This is a test.doc") but it always fails even though


How can i merge 2 tables in 1 datagrid -
Hello everyone, i just want to ask some help. I want to learn how to merge a two tables at 1 datagrid. Example, i have 2 tables in 1 database and that table was compose two the same customer_ID. COuld anyone give me some example on how to do that?i am using Visual basic.net2003 and 1.0


How to merge 2 word document into 1 document -
If I have 2 files (e.g intro.doc & chapter1.doc) How do I merge the content of both files and create a new file? Thanks


how to merge different documents -
hello all, Today i got some idea, its' as follows: I have to work on different word documents, format and do all the processing and finally merge them into one word document. I just gave a thought how easy it would be if there is a readymade software which can do this for me.


MailMerge to Web Service -
Hello, I would like to start a regular mail merge process, design my document, add a recipient list and merge fields. Then I would like to click a button which will cause Word to generate each document as a seperate one and for each document make a SOAP web service request that will


Merging Documents -
Hi All, I'm developing app that is required to merge database field with ms word document.The ms document will be created by a user. I know how to merge documnts through word, I have to incorporate the functionality within the application. Any assistance will be highly appreciated.


MailMerge with images -
Hi! I've problem with the mail merge. I' trying to place a image within my document with this merge key {INCLUEPICTURE {MERGEFIELD "Custom_Signature_2"} \* MERGEFORMAT} but as soon as I save my merge template document, the field {MERGEFIELD "Custom_Signature_2"} i


VB & VBA Printing option on the Page setup disappear after merging the document -
Hello, I created a VB application which uses Word to merge documents. I used Microsoft office 97 to create these Merge Documents. With These merge documents, I was able to save the setting such as font and how it should print using tray 2 & tray 3. We have upgraded our Micro


Initializing a Mail Merge from within Access 97 -
I need some help with this final piece of my project.... I need to run a mail merge on a document from with an Access 97 form. The document is all ready created, and it is set to pull records from a database. Take note that the database that has the records for the mail merge i


Word Mail Merge to SQL Server -
I have an existing document in Word that I want to merge some data from my SQL Server. The microsoft site has some examples but they create the document each time. I need some idea to do with an existing document, no matter the data format is (SQL, Access, Visual FoxPro, etc.) Any ide


Mail Merge with Word Document -
I need to set up a mail merge with a preset word document and was wondering how to go about this, I'm afraid I don't know where to begin. I'm using data controls for all my database connections and SQL to perform the queries. I'm hoping it should be fairly straightforward. If anyone ca


Oh boy more word automation stuff... writing doc away -
Okie dokie, and huge thanks to Bruce, have the merge stuff working [Edited by MartinLiss], but new requirement (right after working out how to [Edited by MartinLiss] merge everything into one document). 1. Do the merge 2. Write the word doc away? So now need to not show the do


Keys and multiple tables -
Are there any SQL Commands that will automatically merge multiple tables into one table without a common key? Or possibly no columns common. Also what would be the SQL command to create a Key on a table anyway? I'm working in VB and can't seem to find a way to create keys when c


Merging Queries in a VB program with Word documents -
Hello all. I'm trying to find a satisfactory way to be able to merge queries created in my vb program at run time with a word document. I'm sure that this is possible, & one of my friends says that there's a section in the MSDN library but I can't find it. Essentially, I


Can't find Insert -> Merge Field in Word 2007 -
Once again I am sure I am in the wrong place (it seems I take a wrong turn whenever I venture out of ASP.NET...) Anyway, I am supposed to process a word 2003 document by inserting merge fields. I am taking over this process from a coworker in an office remote from me. He has walked


Ye oldie mail merge question vb6 -> Word 03 -
Okay have just about everything working, data extracted from an Access database and merged into a preformated Word document Here's hopefully the last problem. For each record I generate a new word document, which is cool and all, except with 30+ documents generated it's a pain


Word Mail Merge Problem -
I am trying to create a Mail Merge script that opens a predefined word document located in: (C:\Documents and Settings\All Users\Templates\mailMergeTemp.doc), which has a mail merge data file already attached and is located in: (C:\Documents and Settings\All Users\Templates\mMailMailMe


MSFlexgrid Merge question -
Don't know if this is possible or not. Couldn't find anything searching so thought to ask here. Say you have a MSFlexgrid control with 10 rows and 10 columns. I can easily set it to merge all rows in column 3 for example, where any rows which have identical data will merge.


VB and Mail Merge direct to email -
Looking for the method/lines of code to send a word 2000 mail merge document directly to an email address verses the printer or a document. I have this .. WordDoc.EMail.Application.AddAddress( , 'xxxxx@gte.net') WordDoc.MailMerge.Destination = 2 but does not work.. ANy help out t


Merging two data tables. -
How can I merge two data tables together? I know you can merge two data sets but that doesn't do me any good, I'm working with the C1 FlexGrid and that can only show one table at a time. My parsing code creates one table for each subsection, and I need to show the entire section at o


Query from Access to a Word Mail Merge -
Hey -- I'm trying to create code in Access that will take data from a specific table in Access to a Word Mail Merge doc. I've got it to merge but it merges every record in the table. I have the procedure execute on click from a command button from a form. I want it to only merge the


Can't Get FlexGrid To merge -
What does it take to get the FlexGrid to merge. I've tried setting the merge property everyway I can, it it will not merge. I've tried doing it in code, and it does not work. I have one column that is nothing but a person't name from a database, and I want to merge it, but it won'


VB and Word Mail Merge data source -
Hi friends, How can I pass (via code) a new mdb path to a mail merge document ? Thanks for any help, Fernando.


Performing Mail Merge using VB6 -
How do you program VB6 to perform a mail merge using Web Form to print out a Word document from a website? Please help! From: A first time programmer


Access Query into Word Table - Mail Merge -
What is the best way to dump the result of a query or ADO recordset into a Word Document table? I was thinking of doing a mail merge but not sure if a mail merge can handle dynamic rows and columns. Thank You


mail merge from asp -
does anybody know of an easy way to mail merge a record set with an existing word document using ASP?


Repeat a mail merge field -
This is a pretty specific question but I think it belongs here. I have a Word document with tags surrounded in <<brackets>> that I have to replace using mail merge. I am using Office 2007. It took me a long time and the help of a coworker to even figure out how to do t


Mail Merge -
Is there any simple way to set up a mail merge to a word document. I don't care if I have to pass the fields from the code by variables/parameters or if they can be taken from a query, I just need whatever is easiest. Is it even possible without a big complicated ActiveX control or so


Change 'Document Name' property for a print job -
I need to change the 'Document name' property of a job sent to a printer queue - I'm working in Windows 2000 using VB6 sp5. In particular, I'd like to change the 'Document Name' property of a job submitted from a Ms Word object using the 'PrintOut' method of the Ms Word App object v


Word: How to count number of tables in Word Document -
I am opening tables from Word and extracting data. The only trouble I am having is that I do not have the same number of tables every time I run the program. How do I detect the number of tables that are in the document that I just opened? I did a search and found this- http:


mergecells flexgrid vb6 -
Hi, im using a MSHFlexgrid in my vb6 application and i need to merge some portion of the grid (not a full row/col). I know how to merge complete columns/rows from a flexgrid but I want to know how to do a merge from a range. Ex: i want to merge the columns in row 1 (but only start t


VB to create a word doc with mail merge -
Is it possible? And if you know of any tutorials or examples, pls tell me. Cos I need to use VB to generate a table of mail merge objects in a word document dynamically. I'd appreciate any help