Milo_Minderbinder
Well-known Member
- Joined
- Mar 2, 2006
- Messages
- 548
This would be really mean to do... Put funny to ponder
Code:Option Explicit Private Sub Workbook_BeforePrint(Cancel As Boolean) On Error GoTo Err_Hnd Dim ws As Excel.Worksheet For Each ws In ThisWorkbook.Worksheets ws.UsedRange.Replace "John Doe", "Lunk-Head", xlPart, xlByRows, False Next ws Exit Sub Err_Hnd: End Sub
This peaked my curiosity. How about mimicking the userform that appears when sheets are being printed and putting that in a beforeprint event and cancelling the actual print. To the user, it will look like their file was sent to the printer. Esspecially usefull when the printer is down the hall.