Printing one sheet with different numbers

markman235

Board Regular
Joined
May 10, 2011
Messages
52
Hi everyone,

I have a safety evaluation sheet that every employee completes every month. I am currently printing off copies and hand writing their employee numbers across the top.

Is there a way to get Excel to print one sheet with the different employee numbers? I found how to get it to print sequential numbers, but because employees come and go, we have some gaps that would waste paper to print.

Any thoughts?

Thanks,

Mark
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
If you are using VBA to print the sheet then you could list the valid employee numbers in a column on another sheet and use something like this.
Assume emp nos are in Column A, sheet 2 beginning at row 2. Also assume emp number for sheet 1 is to appear in cell A1.
Code:
Sub t()
Dim c as Range
     For Each c In Sheet2.Range("A2", Sheet2.Cells(Rows.Count, 1).End(xlUp)) 'makes range dynamic
          If c <> "" Then Sheet1.Range("A1") = c.Value
                Sheet1.PrintOut
          End If
     Next
End Sub
 
Upvote 0

Forum statistics

Threads
1,224,822
Messages
6,181,164
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top