I'm trying to set up a macro for printing, and the printing will be executed by a "Begin Printing" command button.
The command button and the print macro isn't part of the question, just to set the stage for my request from you folks.
In my workbook there are several worksheets. Worksheet1 of the workbook is a summary sheet in which I have two control buttons, one print command button, and seven checkboxes .
What I'm trying to accomplish is help with my macros on two things:
1. The two control buttons-- Each control button will govern one of two print packages.
One is for employee use (ControlButton1) and one for public use (ControlButton2), each specifying different ranges on each of the worksheets. Of course, the ControlButtons are mutually exclusive. Only one is active at the time, which will help the print fuction keep from malfunctioning whhen the "Go" command button is clicked (I hope!)The general logic that I have in mind is that if controlbox1.value = True
then print out the employee package dependent upon:
2. Which of any of the seven checked boxes is checked (checked = value of True). One or more boxes can be checked for the print package
I hope you can follow this!
The command button and the print macro isn't part of the question, just to set the stage for my request from you folks.
In my workbook there are several worksheets. Worksheet1 of the workbook is a summary sheet in which I have two control buttons, one print command button, and seven checkboxes .
What I'm trying to accomplish is help with my macros on two things:
1. The two control buttons-- Each control button will govern one of two print packages.
One is for employee use (ControlButton1) and one for public use (ControlButton2), each specifying different ranges on each of the worksheets. Of course, the ControlButtons are mutually exclusive. Only one is active at the time, which will help the print fuction keep from malfunctioning whhen the "Go" command button is clicked (I hope!)The general logic that I have in mind is that if controlbox1.value = True
then print out the employee package dependent upon:
2. Which of any of the seven checked boxes is checked (checked = value of True). One or more boxes can be checked for the print package
I hope you can follow this!