Thread: A One-liner
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
T De Villiers[_24_] T De Villiers[_24_] is offline
external usenet poster
 
Posts: 1
Default A One-liner


Hi I think there is something wrong with "For Each wks In
ActiveWorkbook",
any help is much appreciated.


Sub taz()

Dim wks As Worksheet
Dim ActiveWorkbook As Workbook
For Each wks In ActiveWorkbook

If Cells(3, 1) = "taz" Then
Cells.Font.Bold = True

End If
Next wks
End Sub


--
T De Villiers
------------------------------------------------------------------------
T De Villiers's Profile: http://www.excelforum.com/member.php...o&userid=26479
View this thread: http://www.excelforum.com/showthread...hreadid=553558