Hi,
I have a database sheet 'Data', where I wish to add 4 buttons/checkboxes to each row of data. The idea being that I can check only 1 of the 4 per row, up to any 4 rows and this data is then passed to my other sheet, 'Labels'. The label sheet contains four spine labels based on L7171 Avery spine labels for folders.
With this I can print any 4 spine labels without wastage. The trouble is it seems very complex and I'm not sure if I need command buttons and or tickboxes.
I have some code based on an old sheet where I made a command button to print one line of data in this sheet to a another sheet that acted as a form. It went like this..
Private Sub PrintForm_Click()
With ActiveSheet
.Range(.Cells(ActiveCell.Row, "A"), _
.Cells(ActiveCell.Row, "K")).Copy _
Worksheets("calc").Cells( _
Rows.Count, 1).End(xlUp)(1)
End With
Sheets("Form").PrintOut
End Sub
This worked well, but how to modify this for what I'm trying to do now is beyond me. Could anyone please give me any pointers/suggestions?
Many thanks,
Mark.
I have a database sheet 'Data', where I wish to add 4 buttons/checkboxes to each row of data. The idea being that I can check only 1 of the 4 per row, up to any 4 rows and this data is then passed to my other sheet, 'Labels'. The label sheet contains four spine labels based on L7171 Avery spine labels for folders.
With this I can print any 4 spine labels without wastage. The trouble is it seems very complex and I'm not sure if I need command buttons and or tickboxes.
I have some code based on an old sheet where I made a command button to print one line of data in this sheet to a another sheet that acted as a form. It went like this..
Private Sub PrintForm_Click()
With ActiveSheet
.Range(.Cells(ActiveCell.Row, "A"), _
.Cells(ActiveCell.Row, "K")).Copy _
Worksheets("calc").Cells( _
Rows.Count, 1).End(xlUp)(1)
End With
Sheets("Form").PrintOut
End Sub
This worked well, but how to modify this for what I'm trying to do now is beyond me. Could anyone please give me any pointers/suggestions?
Many thanks,
Mark.