B
beeawwb
Good afternoon all. Getting quite frustrated trying to code this myself
and I just can't figure out the correct syntax for what I want to do.
I have a Workbook BeforePrint() sub that obviously, gets called whe
the user goes to printpreview, or prints the workbook (I have a prin
dialogue box that does this for me).
What I want to do, is add the following code to each selecte
worksheet, or all worksheets if none selected.
ActiveSheet.PageSetup.LeftHeader = "Printed By "
Application.UserName
How would I get Excel to add this header ("Printed By "
Application.UserName) to each sheet that is being printed? Thanks fo
any help or suggestions you can provide.
-Bo
and I just can't figure out the correct syntax for what I want to do.
I have a Workbook BeforePrint() sub that obviously, gets called whe
the user goes to printpreview, or prints the workbook (I have a prin
dialogue box that does this for me).
What I want to do, is add the following code to each selecte
worksheet, or all worksheets if none selected.
ActiveSheet.PageSetup.LeftHeader = "Printed By "
Application.UserName
How would I get Excel to add this header ("Printed By "
Application.UserName) to each sheet that is being printed? Thanks fo
any help or suggestions you can provide.
-Bo