[mso] Re: Word Merge, Access VBA

  • From: "Ray Blake" <ray@xxxxxxxxx>
  • To: <mso@xxxxxxxxxxxxx>
  • Date: Sat, 26 Jul 2003 10:32:49 +0100

Glenda,

Do you have to do this as a Word merge? It would be a piece of cake to
import the Access data into Excel and then a simple pivot table would
give you exactly what you seem to need.

Ray

_____________

This email is from Ray Blake, Head of Software Design, GR Business
Process Solutions. It is confidential and intended for the addressee
only. The contents are private and may be legally privileged. If you
receive this email in error we would be grateful if you would advise the
sender and delete the email from your system.

For more information on the services that we offer please visit us at
our website: - www.grbps.com 



-----Original Message-----
From: mso-bounce@xxxxxxxxxxxxx [mailto:mso-bounce@xxxxxxxxxxxxx] On
Behalf Of Glenda Wells
Sent: 25 July 2003 22:44
To: mso@xxxxxxxxxxxxx
Subject: [mso] Word Merge, Access VBA


Hi.
 
I'm still trying to find a way to create a list in Word Merge from
Access data that lists a header and items with values such as in my
example:
 
I've crawled all over Cindy Meister's MVP website and have learned a lot
but frustratingly, not the answer I'm looking for.
 
Anyway, she mentioned this and I was wondering if one-ah-y'all geniuses
could 'splain whut she's talkin about and mebby how-to. "Basically, you
create a function in Access VBA and use it as a query expression in your
data source. The function takes the ID and puts together the "many"
data, followed by the total, in a tab-delimited string."
 
Looking for a clue in sunny central Florida. /g
 
Example Date:
Mike Todd    Socks    5 
Mike Todd    Shoes    2
Sally Hansen    Socks    8
Sally Hansen     Skirts    2
Sally Hansen    Dresses    4
Sally Hansen    Shoes    27      
 
Example Desired Result:
Mike Todd
    Socks    5 pair
    Shoes    2 pair
      Total   7 Items
-----New Page-----
Sally Hansen
    Socks    8 pair
    Skirts    2 each
    Dresses 4 each
    Shoes    27 pair
        Total 42 Items
 
 
*************************************************************
You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx
or MicrosoftOffice@xxxxxxxxxxxxxxxx

To send mail to the group, simply address it to mso@xxxxxxxxxxxxx

To Unsubscribe from this group, send an email to 
mso-request@xxxxxxxxxxxxx with the word "unsubscribe" (without the
quotes) in the subject line.

Or, visit the group's homepage and use the dropdown menu.  This will
also allow you to change your email settings to digest or vacation (no
mail). //www.freelists.org/webpage/mso

To be able to use the files section for sharing files with the group,
send a request to mso-moderators@xxxxxxxxxxxxx and you will be sent an
invitation with instructions.  Once you are a member of the files group,
you can go here to upload/download files:
http://www.smartgroups.com/vault/msofiles
*************************************************************

*************************************************************
You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or 
MicrosoftOffice@xxxxxxxxxxxxxxxx

To send mail to the group, simply address it to mso@xxxxxxxxxxxxx

To Unsubscribe from this group, send an email to 
mso-request@xxxxxxxxxxxxx with the word "unsubscribe" (without the quotes) in 
the subject line.

Or, visit the group's homepage and use the dropdown menu.  This will also allow 
you to change your email settings to digest or vacation (no mail).
//www.freelists.org/webpage/mso

To be able to use the files section for sharing files with the group, send a 
request to mso-moderators@xxxxxxxxxxxxx and you will be sent an invitation with 
instructions.  Once you are a member of the files group, you can go here to 
upload/download files:
http://www.smartgroups.com/vault/msofiles
*************************************************************

Other related posts: