Printing one sheet with different numbers

markman235

New Member
Joined
May 10, 2011
Messages
46
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

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
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,216,731
Messages
6,132,395
Members
449,725
Latest member
Enero1

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