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

Word Mailmerge problem (VBA): new name for merged document -

How to give a merged document another name than the one that's been attributed automatically by Word (Office 2000)?
According to me the Mailmerge Object doesn't possess a name property for the merged document.
Is it possible to use code to determine the name Word attributed to the merged document in order to rename it?
I think I should use the NewDocument Event but I don't know how …
Thanks!

 

Word Mailmerge problem (VBA): new name for merged document -
How to give a merged document another name than the one that's been attributed automatically by Word (Office 2000)? According to me the Mailmerge Object doesn't possess a name property for the merged document. Is it possible to use code to determine the name Word attributed to the me


MailMerge problem. Urgent! -
I am having a problem that is how to reserve the marco after mailmerge. The situation is I have a template which contains the macro for later use. But first the fields in this template needs to be merged from an Excel file. After I merged the file and send it to a new document using


[FAQ's: OD] How do I automate a Word MailMerge document -
Using the MailMerge object in the Word Object Model we can modify or execute a mailmerge on an existing mailmerge document. You may want to do this for reasons like filtering an output of records, sorting, changing a datasource (keeping the same fields), batch processing, etc. F


***Resolved*** Mailmerge Problems Again -
I am trying to do a Word mailmerge from VB taking the Receipt data from an Access 97 Table. The code that I am trying to use opens my mailmerge document allowing me to view it in Word before printing it. Although I'm sure the code has errors in it and has lots of room for improvement,


Replace MailMerge -
ok this is my first stretch into vb.net so be gentle.... I want to open a word document that could look like something like this: Dear <CompanyName>, blah blah blah. I want to open this word document and replace the <CompanyName> tag with a mailmerge field. I can


MailMerging Problem -
I am having a problem with mailmerging word documents from Vb. I am creating a template document Name :<<Name>> And I am merging the destination document with data Name,Address John,22 First st The merged document from some systems are like the following 1


Automating Mail Merge with Word through VB 6 -
I have several Word 2000 Mail Merge Templates that I need to automate through my VB 6 application.# The code I'm using at the moment is: Dim wrdApp As Word.Application, wrdDoc As Word.Document, wrdMerge As Word.MailMerge ' create an instance of microsoft word.


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


Help with Word and Visual Basic -
Hi I am new to Visual Basic and here is the project I must compelte. We currently have a Word document (that we mailmerge a flat file too). This document contains information for new hires. The users have asked that we add a couple of dropdown list boxes to the word document for t


Mailmerge from VB with Word -
Hello, could someone tell me how to create a document that can be merged with an access table from VB? This was my idea about it: -Create Word template with needed fields and ODBC datasource. -Create in VB instance of Word. -From that instance, create new document, based on the


MS Word Integration (Revised Question) -
I have a Word document with MailMerge set up, using an Access table as the datasource. In my VB program, once I have instantiated Word and open the doc, I will have the "merge results" of however many records are in my Access table. The question is, how do I "do someth


open a mailmerge document -
Hello,I have searched the forum but couldn't find a solutuon to my specific problem.Actually I have created a mailmerge using microsoft word and as data source, i use a table from microsoft access.Every time i try to open the word document,I am given a msgbox telling me that opening th


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


Try & figure this -
I have a general Word2000 document with fields linked to a dbf (dbase) file via MailMerge. I've now saved the Word document as an htm file. The fields still merge to the dbf file with IE's 'Edit with MS Word for Windows'. OK so far. But now I would like the htm page to MailMerge wi


opening up mail merged .doc -
hi iam using DAO 3.6, vb6 and word 2002, access 2000. i would like to open up an exisitng word document from my vb6 app. i would like to base the word mail merged document on a parametarized query but pass in the parameters at run time of the vb6 app. how would i go about doin


Word MailMerge and VB 6 problem. -
Hello I am trying to send a mailmerge document to the printer after attaching the datasource file. See Code below. Code: Option Explicit Public WithEvents objWord As Word.Application Private Sub objWord_DocumentOpen(ByVal Doc As Word.Document) With Doc


mailmerge from outlook to word -
can anyone tell me where i can get a simple code to setup an automated mailmerge from outlook contacts list ( select by category say ) to a single word form letter document. many thanks


[FAQ's: OD] How do I create a Mailmerge -
Using Word 2003 as an example... There are several easy steps in creating a MailMerge document: Step 1 - Setup a new Word document and add your verbiage and any images needed in the document as shown in Fig. 1. Note: I have added highlighting and brackets as placeholders for w


Excel -> Word Mailmerge -
I have a lot of data on two excel sheets, I have a form made up in word which uses a combination of the two as it's source of data for a mailmerge. But I need to sort the data on the two different sheets according to a few sort criteria. The final merged document is a catalogue and I w


Data Types, and File Saving -
I am doing a forced mailmerge from access to a word document, the table in my database I am using to do the merge from has a currency field in it. When I look in the field it has the $0,000,000.00 format, however when I do the mailmerge it formats it to the text of 0000000 how can I s


SOLVED closing word once opened in vb6 -
I have an app that has to open a word 2003 document, merge it with a database, then print it, and close word. It opens, merges, and prints without a problem, but it is screwing up. First time I run the program, it errors and says that the merge file has no data or no data that matc


[WORD] Execute MailMerge in VB6 -
I am trying to use VB6 to open a MailMerge document. This Word document is connected to a Text file as datasource. When I try to open c:\source\letter1.doc, a message box will pop up: Quote: Opening this document will run the following SQL command: SELECT *


Microsoft Word Mail Merge -
Hi, I am facing problem in MS Word Mail Merge.Below I create a document for mail merge and open the datasource. The problem is that every thing works fine except the database[gstrdatabase] entered, opens in MSAccess which is visible. I want to let the user see only the Word Document


Read Merge Document ASP.net and vb.net code -
hi I hv Merged Word Document, it Contain Fname,Lname,Address,Phone Fields. I want to Read these Fields from ASP.net and Showing into the Browser. The Core idea is to identify the Fields in merged document and display in browser. can any one give a sample code


Using Word to Mailmerge in VB 6 -
Hi All, I want to use VB6 to mailmerge, but can't find much help on the matter. There seems to be different ways to declare word and document objects. I have noticed that you can declare a word object as follows:- Dim wrdApp As Word.Application, wrdDoc As Word.Document, wrdMerge


Pls Help : VB macro in word - hanging word -
Hi, I am not basically a VB developer and trying out my hand due to one requirement that actually invokes the winword from my process in macro mode. I have written a macro and I expect a result as to give me the two documents: 1. word document - gebog578_1009_GEMBout.doc 2. prn fi


implement data from datasource ms word document into vba form -
Hello there, I want to get data from a ms word document that's used as datasource and show it in a listbox on a vba form. It's no problem to create a datasource in vba or use the mailmerge to get the data in another word document, but i can't read out the data in my vba program.


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


MailMerge -
Hello, I have a tiny problem. I'm merging clientadresses from a database into word. There's no problem until Word-document becomes Visible. Only the last field is visible. I need to insert a pagebreak or a space between the fields, but i don't know how to do that. Can anyon


Mailmerge & VB -
Hi everybody, Now, I try to use Word Mailmerge via VB. Basically, I have to create a main document which I already accomplished and setup the datasource which I can't. I want to create a datasource in VB code and want to connect the database via an ODBC. Is there anyone know how to


[Word] 2003 VBA - Absolute Row/Col in Tables with Merged Cells -
I need to validate the structure of a Word table in a document using VBA. For example, assume there is a 4x4 table with the middle 4 cells merged I need to determine for EVERY cell: the staring ABSOLUTE row, column, the number of horizontal merged cells, the number of v


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


MS Word mailmerge automation -
Can anybody provide me with some sample code to automate the mailmerge function offered by MS Word from a Visual Basic program. Thanks for your help in advance.


[Word 2002] code to remember Text formfield maximum length after mailmerge -
[Word 2002] Hi, I need to amend this code to remember Text formfield maximum length after mailmerge! As it won't remeber the text form field options after running the code to use mailmerge with forms. Any ideas? Sub PreserveMailMergeFormFieldsNewDoc() Dim fFieldText() As Strin


send query data to word doc via mailmerge V's Bookmarks -
i have searched but cannot find the best method of exactly how to achieve (Access not VB6) from a custom menu, send data from a query to a word document with either mailmerge or bookmarks. how can i do this and wich is the best method?


Word 'merged' Docs On The Fly -
Does anybody know if it's possible to create a word document on the fly, and include fields from a database? A little like creating a form letter in Word. Any help would be greatly appreciated. Cheers, ScottyC


Access Mailmerge Automation -
Can anyone tell me how I can perform a mailmerge by opening up word from access and performing a mailmerge automatically without opening access again as the datasource? I've copied the script below, if anyone has any suggestions please help!!! Dim objWord As Word.document Dim mywd


Is it possible to save the macro in mail merged doc -
Is it possible that the macro in the old template will be transferred to the new mail merged word document? Thanks


Is it possible to send mailmerge word doc through IE -
Hi, I was wondering if it is possible to send a mailmerge word file through the internet. What I'm doing is as follows: - user logs into website - user enters information and submit - website takes information and mailmerge with existing template - sends user end result No


Problem reading a TABLE in MS WORD -
Hi , I am writing a macro which converts a MS WORD table into particular format. I need to retain the structure of the table while doing so. The main problem is that if a row consists of a merged cell then there is no means to identify this at runtime. If a merged cell has occured