Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 78
Default Programatically sort and highlight

I have a worksheet of data that is dumped from our ERP system. It will have
cells that look blank but actually have "spaces" in them, alot of cells look
like this. The structure is as follows.

Columns

A B C D
9 H 12/1/09 2.00
9 H 12/1/08 3.00
9 H 10/1/09 4.00
9 U 11/1/09 5.00
9 U 2/1/09 6.00
Total for

What I think I want to do is search for the words "Total for" which will
then give me the very last line of data. Then within this range from 1 - to
the row that contains "Total For" I want to look at each cell in column C and
if the date is over six months old I want the whole row (A-D) to be
highlighted in yellow. This way it will bring attention to the item. I had
tried a for/while loop but it was not working correctly. Please help





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
Add a Button Programatically plus code jlclyde Excel Discussion (Misc queries) 1 December 9th 08 04:29 PM
Excel should let me sort by highlight color. DH Excel Worksheet Functions 1 October 26th 06 10:42 PM
How to programatically control a 3D-sum? Ake Excel Worksheet Functions 6 February 2nd 06 09:20 AM
Highlight Sort Column Ronbo Excel Discussion (Misc queries) 0 June 29th 05 10:26 PM
Why when I go to sort does it automatically highlight from #1028? Ruth Excel Discussion (Misc queries) 1 June 15th 05 12:46 PM


All times are GMT +1. The time now is 01:48 PM.

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"