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)))
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)))