Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
(Re-posting. Sorry - I posted it in the Excel General section accidentally)
Hi all (warning novice approaching).... I'm writing VBE code and I want to find cells in column A where the text entered does not start with 5 spacebars eg: Alligators aren't always aggressive... Blue bulls blow big... Great grapes grow .... Pink pigs put purple.... In the above example I need the code to pick up the "The quick brown Fox...." row and the "Great grapes grow..." row and make them bold. The "Blue Bulls" row and the "Pink pigs" row stay unbold. I've tried the following code but it makes all active cells bold.. What am I doing wrong? Any help would be greatly appreciated. ....... Dim i For i = 1 To Cells(Rows.Count, "a").End(xlUp).Row If Cells(i, "a").Value < " *" Then Cells(i, "a").Font.FontStyle = "Bold" End If Next Thank for your help BeSmart |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to find too many different format cells on spreasheet | Excel Discussion (Misc queries) | |||
find the highest value for multiple cells | Excel Discussion (Misc queries) | |||
How to find multiple cells/replace whole cells w/data | Excel Discussion (Misc queries) | |||
INTRICATE PROBLEM- How to find multiple text,excluding "H", in a multiple range of cells, then replacing 0 with another number in another cell | Excel Worksheet Functions | |||
Find cells without multiple spacebars and format... | Excel Discussion (Misc queries) |