S
Simon IPA
I've created a set of bookmarks that relate to areas on table (adhesive
labels). If I create check boxes associated with the bookmarks can I add a
button that will print the checked bookmarks. I can get this to work with one
check box but not multiple ones as it will only select one at a time. sorry
I've no idea about programming and just use the record function.
Private Sub CommandButton1_Click()
If CheckBox1.Value = True Then
ActiveDocument.Bookmarks("Range1").Select
Application.PrintOut FileName:="", Range:=wdPrintSelection, Item:= _
wdPrintDocumentContent, Copies:=1, Pages:="", PageType:=wdPrintAllPages, _
ManualDuplexPrint:=False, Collate:=True, Background:=True, PrintToFile:= _
False, PrintZoomColumn:=0, PrintZoomRow:=0, PrintZoomPaperWidth:=0, _
PrintZoomPaperHeight:=0
End If
End Sub
labels). If I create check boxes associated with the bookmarks can I add a
button that will print the checked bookmarks. I can get this to work with one
check box but not multiple ones as it will only select one at a time. sorry
I've no idea about programming and just use the record function.
Private Sub CommandButton1_Click()
If CheckBox1.Value = True Then
ActiveDocument.Bookmarks("Range1").Select
Application.PrintOut FileName:="", Range:=wdPrintSelection, Item:= _
wdPrintDocumentContent, Copies:=1, Pages:="", PageType:=wdPrintAllPages, _
ManualDuplexPrint:=False, Collate:=True, Background:=True, PrintToFile:= _
False, PrintZoomColumn:=0, PrintZoomRow:=0, PrintZoomPaperWidth:=0, _
PrintZoomPaperHeight:=0
End If
End Sub