Thread: BeforePrint
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Robin Clay Robin Clay is offline
external usenet poster
 
Posts: 17
Default BeforePrint

Greetings !

Would anyone have some idea why this don't work - please ?

Private Sub App_WorkbookBeforePrint(ByVal Wb As Workbook, Cancel As Boolean)
For Each wk In Wb.Worksheets
If wk.Name = "DATA - ALL" Then
Range("F12").ColumnWidth = 100
End If
Next
End Sub