Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default Font Colour Macro

Dear All,

I am looking to write a macro for one of my procedures that i have to do on
a monthly basis. I have various spreadsheets with trainee information,
downloaded from our central database. The trainees are identified using a
unique id.

Due to the nature of the report, the spreadsheet can have duplicate
information. The main row for the trainee is in the normal black font
colour, and in any subsequent lines for the same trainee, the font is changed
to red.

Waht i was hoping to do is create a macro, that will count the number of
instances for a paticular trainee, check if there are any red lines, and with
each red line, change the value of the trainee id by adding a 1 or 2 to the
end of the line, for example;
Before Macro
Column A Column B
0001 John Smith
0001 John Smith
0001 John Smith

After Macro
Column A Column B
0001 John Smith
00011 John Smith
00012 John Smith

I hope this has been clear. Thanks in advance
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 510
Default Font Colour Macro

Hi,

Take a look at Chip's brilliant solution

http://www.cpearson.com/excel/colors.htm

HTH
Cheers
Carim

Reply
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
different colour font in same cel ILMER57 Excel Worksheet Functions 4 April 12th 10 04:57 PM
textBox font colour the same as cell font colour???????? Sophie Excel Discussion (Misc queries) 4 February 13th 09 10:15 AM
Using Font Colour Kevin Excel Programming 2 September 3rd 06 06:19 PM
Font colour phil2006 Excel Discussion (Misc queries) 1 July 31st 06 02:15 PM
can the fill colour of a bar be tied to the data font colour data PaulC Charts and Charting in Excel 0 June 23rd 06 01:21 AM


All times are GMT +1. The time now is 11:49 AM.

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

About Us

"It's about Microsoft Excel"