Hi all,
I have created a list box (form control) in excel with a cell link to C3. As I click on the different employee name on the list box and C3 (the counter) would change from 1 to 500 (I only have actual data from 1 to 250, though. I just want to make sure I have enough space for future expansion of names).
At the same time, area B10:K47 would show up different info depending on the name I click. This area is also set for print. (all the data within B10:K47 would come from an "Input" worksheet).
Question:
1. I do not want to manually click 250 names one at a time and hit the print button in Excel. Is there a way I can set up a macro so that the macro would choose from the first name and send it to print, then choose the second name on the list and send it to print and stop at 250 but not 500?
2. what is the best way to select all the names between 95th and 160th (inclusive) and send it to print?
I think I only need one macro because all I should do is choose 1 to 250 if I want to print all, or 95th to 160th (as an example) if I only want to print certain large range of names.
I don't mind manually clicking and printing 5 or 10 or even 15 names at a time. But more than that would be too labor heavy.
Thank you very much.
I have created a list box (form control) in excel with a cell link to C3. As I click on the different employee name on the list box and C3 (the counter) would change from 1 to 500 (I only have actual data from 1 to 250, though. I just want to make sure I have enough space for future expansion of names).
At the same time, area B10:K47 would show up different info depending on the name I click. This area is also set for print. (all the data within B10:K47 would come from an "Input" worksheet).
Question:
1. I do not want to manually click 250 names one at a time and hit the print button in Excel. Is there a way I can set up a macro so that the macro would choose from the first name and send it to print, then choose the second name on the list and send it to print and stop at 250 but not 500?
2. what is the best way to select all the names between 95th and 160th (inclusive) and send it to print?
I think I only need one macro because all I should do is choose 1 to 250 if I want to print all, or 95th to 160th (as an example) if I only want to print certain large range of names.
I don't mind manually clicking and printing 5 or 10 or even 15 names at a time. But more than that would be too labor heavy.
Thank you very much.