Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 989
Default Max values entered and format

I need to be able to find the max value in a spreadsheet and highlight(bold)
that number. I need this to happen even when new data is entered
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Max values entered and format

Try this worksheet event macro:

Private Sub Worksheet_Change(ByVal Target As Range)
v = Application.WorksheetFunction.Max(ActiveSheet.Used Range)
ActiveSheet.UsedRange.Interior.ColorIndex = xlNone
For Each r In ActiveSheet.UsedRange
If r.Value = v Then
r.Interior.ColorIndex = 6
Exit Sub
End If
Next
End Sub

--
Gary''s Student - gsnu200795


"Mark" wrote:

I need to be able to find the max value in a spreadsheet and highlight(bold)
that number. I need this to happen even when new data is entered

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,420
Default Max values entered and format

http://xldynamic.com/source/xld.CF.html#top3

--
__________________________________
HTH

Bob

"Mark" wrote in message
...
I need to be able to find the max value in a spreadsheet and
highlight(bold)
that number. I need this to happen even when new data is entered



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
restricted values that can be entered mweber Excel Worksheet Functions 4 April 21st 23 05:14 PM
Stop unique values been entered LLoyd Excel Worksheet Functions 1 April 17th 08 09:44 AM
%s in XL entered as ".5" OR "50" reads as 50% if format is %age. Abuzzmaster Excel Discussion (Misc queries) 12 November 14th 07 10:37 PM
List values NOT entered yet foneguy2 Excel Worksheet Functions 3 May 13th 07 02:59 PM
How do I sum between any two entered values in a vlookup table hkaempffe Excel Worksheet Functions 4 August 25th 06 02:09 AM


All times are GMT +1. The time now is 01:19 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"