Please Help?! Pass List Box contents to Bookmarks

A

A. Smart

Good Evening,

I have a command button that passes information from a list box to bookmarks
in a Blank Word template. The problem is that it only passes information once
the list box is selected and it only passes a signle row, whereas I would
like all the rows.

How can i rectify this??? Thanx in advance.

Code to pass info from list box (Parts_List) to bookmarks:

.ActiveDocument.Bookmarks("PartDesc").Select
.Selection.Text = (CStr(Me.Parts_List))
.ActiveDocument.Bookmarks("Four").Select
.Selection.Text = (CStr(Me.Parts_List.Column(1)))
.ActiveDocument.Bookmarks("Six").Select
.Selection.Text = (CStr(Me.Parts_List.Column(2)))
.ActiveDocument.Bookmarks("PartNo").Select
.Selection.Text = (CStr(Me.Parts_List.Column(3)))
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top