Need to edge out the competition for your dream job? Train for certifications today.
Experts Exchange Solution brought to you by
"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.
The MCTS: Microsoft Exchange Server 2010 certification validates your skills in supporting the maintenance and administration of the Exchange servers in an enterprise environment. Learn everything you need to know with this course.
Dim lngLastRow As Long
Dim lngRow As Long
lngLastRow = Range("B1048576").End(xlUp).Row
For lngRow = 3 To lngLastRow ' To start with row 1, change the 3 to a 1)
If Cells(lngRow, 2).Text <> "" Then
With Cells(lngRow, 2)
' Other than black (RGB(0,0,0)), the bigger the number (up to 255
' which is white) the lighter the shade of gray
Select Case .IndentLevel
.Interior.Color = RGB(0, 0, 0)
.Font.Color = vbWhite
.Interior.Color = RGB(128, 128, 128)
.Interior.Color = RGB(169, 169, 169)
.Interior.Color = RGB(211, 211, 211)
.Interior.Color = RGB(220, 220, 220)
Open in new window
Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.
silly me...how do you "apply" the macro? I have it in the VB Explorer, inserted into the editor
From novice to tech pro — start learning today.
Premium members can enroll in this course at no extra cost.
Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.
Have a better answer? Share it in a comment.
Please enter a first name
Please enter a last name
Must be at least 4 characters long.
Join and Comment