ok not it does work
the new macro is
Private Sub CommandButton1_Click()
ActiveSheet.PageSetup.PrintArea = "$a$4:$h$63"
If Not Application.Dialogs(xlDialogPrinterSetup).Show Then GoTo Fin:
ActiveSheet.PrintOut Copies:=1, Collate:=True
ActiveSheet.PageSetup.PrintArea = "$a$4:$AA$63"
Fin...
thank you
but Docjohn52 it did not work it still doen the same thing
for PHV
Private Sub CommandButton1_Click()
ActiveSheet.PageSetup.PrintArea = "$a$4:$h$63"
If Not Application.Dialogs(xlDialogPrinterSetup).Show Then Exit Sub
ActiveSheet.PrintOut Copies:=1, Collate:=True...
Hello sorry to ask you this but i have pass a week to search on the internet and I am not able to find my problem
Here the macro
Private Sub CommandButton1_Click()
ActiveSheet.PageSetup.PrintArea = "$a$1:$h$60"
bResponse = Application.Dialogs(xlDialogPrinterSetup).Show
If TypeName(response) =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.