View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Brian Taylor Brian Taylor is offline
external usenet poster
 
Posts: 52
Default Delete range on open

You want the left function.

Dim WS As Worksheet
For Each WS In Worksheets
If left(WS.Name,2) = "ZZ" Then
Range("j29:q38").ClearContents
End If
Next