Format row based on text length
Closed
Llupo01
Posts
2
Registration date
Wednesday August 19, 2015
Status
Member
Last seen
August 21, 2015
-
Aug 20, 2015 at 02:06 PM
vcoolio Posts 1411 Registration date Thursday July 24, 2014 Status Moderator Last seen September 6, 2024 - Aug 21, 2015 at 07:07 AM
vcoolio Posts 1411 Registration date Thursday July 24, 2014 Status Moderator Last seen September 6, 2024 - Aug 21, 2015 at 07:07 AM
Related:
- Format row based on text length
- Format factory - Download - Other
- Saints row 2 cheats - Guide
- Kingston format utility - Download - Storage
- Excel date format dd.mm.yyyy - Guide
- Samsung format code - Guide
3 responses
vcoolio
Posts
1411
Registration date
Thursday July 24, 2014
Status
Moderator
Last seen
September 6, 2024
262
Aug 21, 2015 at 05:40 AM
Aug 21, 2015 at 05:40 AM
Hello Tomas,
Try the following trimmed down code:-
You can have a look at my test work book at the following link:-
https://www.dropbox.com/s/rqqn7svx1o8i50d/Llupo01.xlsm?dl=0
to see if it does what you would like.
I hope that this helps.
Cheerio,
vcoolio.
Try the following trimmed down code:-
Sub Highlight()
Dim LR As Long
Dim cell As Variant
LR = Range("A" & Rows.Count).End(xlUp).Row
Sheet1.Select
For Each cell In Range("A1:A" & LR)
If Len(cell) > 4 Then
Range(Cells(cell.Row, "A"), Cells(cell.Row, "J")).Interior.Color = vbYellow
End If
Next
End Sub
You can have a look at my test work book at the following link:-
https://www.dropbox.com/s/rqqn7svx1o8i50d/Llupo01.xlsm?dl=0
to see if it does what you would like.
I hope that this helps.
Cheerio,
vcoolio.
Llupo01
Posts
2
Registration date
Wednesday August 19, 2015
Status
Member
Last seen
August 21, 2015
Aug 21, 2015 at 06:54 AM
Aug 21, 2015 at 06:54 AM
awesome, thank you very very much.
Tomas
Tomas
vcoolio
Posts
1411
Registration date
Thursday July 24, 2014
Status
Moderator
Last seen
September 6, 2024
262
Aug 21, 2015 at 07:07 AM
Aug 21, 2015 at 07:07 AM
Hello Tomas,
You're welcome. I'm glad that I could help.
Cheerio,
vcoolio.
You're welcome. I'm glad that I could help.
Cheerio,
vcoolio.