Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / October 2007

Tip: Looking for answers? Try searching our database.

AutoNew macro merge record count

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Doug Banwell - 25 Oct 2007 17:12 GMT
I am using Word's AutoNew macro to draw info from an Access database
to merge contracts containing Access main records and sub-records.
I need to know the number of sub-records in my merge before I start
the merge.
I have tried ActiveDocument.MailMerge.Datasource.RecordCount with no
luck - it gives me the number of records in my entire data table, not
the number I have selected for this merge.

I realize that there are probably much easier ways to approach this,
but I'm locked into this method (Word merge) and am not looking to re-
design the process.

Any help would be appreciated,
Doug Banwell
Doug Robbins - Word MVP - 26 Oct 2007 05:20 GMT
Anzwered in the mailmerge.fields newsgroup.

Signature

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

>I am using Word's AutoNew macro to draw info from an Access database
> to merge contracts containing Access main records and sub-records.
[quoted text clipped - 10 lines]
> Any help would be appreciated,
> Doug Banwell

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.