C
CAA
Hello
I have a macro attatched to a command button that does this:
Private Sub CommandButton5_Click()
Application.Dialogs(xlDialogPrint).Show
Dim sht As Worksheet
For Each sht In ThisWorkbook.Worksheets
If sht.Range("a7").Value <> "" Then sht.PrintOut Copies:=1
Next
End Sub
For some reason it prints the first page twice, anybody know how t
just print the pages i need?
Thanks for looking
CA
I have a macro attatched to a command button that does this:
Private Sub CommandButton5_Click()
Application.Dialogs(xlDialogPrint).Show
Dim sht As Worksheet
For Each sht In ThisWorkbook.Worksheets
If sht.Range("a7").Value <> "" Then sht.PrintOut Copies:=1
Next
End Sub
For some reason it prints the first page twice, anybody know how t
just print the pages i need?
Thanks for looking
CA