Hi,
I need some help writing a macro for printing.
My excel file for generating a Purchase Order is like this:
Sheet 1: User fills in all the data. Also has a command button for print.
Sheet 2: (Hidden) Takes data from sheet 1 and formatted for printing (zoom, print areas, margins etc are set).
On pressing command button on sheet 1, i want Sheet 2 to be printed first using CutePDF (installed as a printer) to create a PDF and then printing 2 copies on an HP printer. Can we select the printer and number of copies using code?
Thanks,
Neo
I need some help writing a macro for printing.
My excel file for generating a Purchase Order is like this:
Sheet 1: User fills in all the data. Also has a command button for print.
Sheet 2: (Hidden) Takes data from sheet 1 and formatted for printing (zoom, print areas, margins etc are set).
On pressing command button on sheet 1, i want Sheet 2 to be printed first using CutePDF (installed as a printer) to create a PDF and then printing 2 copies on an HP printer. Can we select the printer and number of copies using code?
Thanks,
Neo