LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 201
Default selective sheet formating

On a sheet I have a list of names with information beside it. The name may
repeat several times one after the other in the list and the list could be
anywhere from 1 to 140 rows. So it is easier to read I was wondering whether
it is possible to change the cell shading (for part of the row) based on the
name automatically?

The names would be unknown to the macro:

Name1 <yellow shading
Name1 <yellow shading
Name1 <yellow shading
Name2 <the name changed, so pick another colour, blue
Name3 <the name changed, so pick another colour, green
Name3 <green shading
<blank <leave shading

I am pretty sure I could do all the coding, simply by reading each cell in
turn, checking the format and making changes as required ( or is there a
smarter way?) and run from say a button on the page, BUT can this macro be
started simply because someone changed the name in a cell?

--
Trefor
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
FORMATING ONE SHEET TO MOVE U TO ANOTHER A. Gray Excel Worksheet Functions 0 May 29th 08 03:59 PM
Repeating formating from one sheet to another MrReeLady Excel Discussion (Misc queries) 2 February 1st 08 02:10 PM
Selective rows from one sheet to another [email protected] Excel Discussion (Misc queries) 8 December 6th 07 08:19 PM
Sheet Group & Formating in VBA Phatchef24[_3_] Excel Programming 1 August 23rd 04 07:51 PM
formating sheet Node321 Excel Programming 2 September 19th 03 12:56 PM


All times are GMT +1. The time now is 10:40 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"