P
Pete via AccessMonster.com
Hello, I'm new to Access and trying to get MS Word to open with the
selections of my listbox. I can multi select items in my listbox. But then
when I click on a button, I need to take those items selected and place them
in a word document, running continuous like the following with a dividing
line to separate the items:
Name1
address1
state1
memo1
______________________________________________
Name2
address2
state2
memo2
Where the Name1 group is the first of the multi selection in the listbox and
the Name2 group is the second selection in the listbox. The code will need
to be flexible so that no matter how many lines I select in the list box, it
will print them in MS Word.
I'm thinking that I must first add the mult selected to a table and then
output the table to Word. Not sure. there may be a simplier way.
The main things I really need help with is writing out the multi list; and
then writing the list to MS Word. If writing the mult list to MS Word is one
step, that's even better.
Thanks for your help,
Pete
selections of my listbox. I can multi select items in my listbox. But then
when I click on a button, I need to take those items selected and place them
in a word document, running continuous like the following with a dividing
line to separate the items:
Name1
address1
state1
memo1
______________________________________________
Name2
address2
state2
memo2
Where the Name1 group is the first of the multi selection in the listbox and
the Name2 group is the second selection in the listbox. The code will need
to be flexible so that no matter how many lines I select in the list box, it
will print them in MS Word.
I'm thinking that I must first add the mult selected to a table and then
output the table to Word. Not sure. there may be a simplier way.
The main things I really need help with is writing out the multi list; and
then writing the list to MS Word. If writing the mult list to MS Word is one
step, that's even better.
Thanks for your help,
Pete