Link to home
Start Free TrialLog in
Avatar of John Darby
John DarbyFlag for United States of America

asked on

Excel color cell by level of indent

Greetings,

I am seeking to color cells in a column by the level of indent. Would you be able to shoot me in the right direction to accomplish this?

Thank you, in-advance!
JohnD
Avatar of Martin Liss
Martin Liss
Flag of United States of America image

I'd need to see the workbook.
Or at least a workbook that contains a sheet with "indented" data.
Avatar of John Darby

ASKER

Thank you,

Here is the column I am seeking to add color per level of indent
No attachment.
Trying again :)
indent.xlsx
Okay do you want to use coloring similar to the black and gray you have now?
That would be great...I am mostly not wanbting to present a bunch of saturated colors which shock consumers :)

Thank you!
ASKER CERTIFIED SOLUTION
Avatar of Martin Liss
Martin Liss
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks Martin,

silly me...how do you "apply" the macro? I have it in the VB Explorer, inserted into the editor
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
silly me...how do you "apply" the macro? I have it in the VB Explorer, inserted into the editor
Open Excel
Alt+F11
Choose Insert->Module from the menu
Copy my code to the module


If you want to assign a Shortcut Key
Go back to the sheet view
Select the Developer tab
Select Macros from the menu
Select the macro
Click Options...
Thanks FarWest!

Martin,

thank you! I ran the Debug and it executed the instructions against the page...thanks again!
Thank you!
You're welcome and I'm glad I was able to help.

In my profile you'll find links to some articles I've written that may interest you.
Marty - MVP 2009 to 2014
Thanks Marty!