Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 01-02-2019, 09:07 PM
Logit Logit is offline Help Displaying Values and Linking Windows 10 Help Displaying Values and Linking Office 2007
Expert
 
Join Date: Jan 2017
Posts: 591
Logit is a jewel in the roughLogit is a jewel in the roughLogit is a jewel in the roughLogit is a jewel in the rough
Default

.
If you don't mind using a macro approach :

Code:
Option Explicit

Private Sub CommandButton1_Click()

Dim maximum As Double, rng As Range, cell As Range

Cells.Interior.ColorIndex = 0

Set rng = Range("F1").CurrentRegion
maximum = WorksheetFunction.Max(rng)
    
For Each cell In rng
    If cell.Value = maximum Then
        cell.Interior.ColorIndex = 22
        Range("G1").Value = cell.Address
    End If
Next cell
    
End Sub
Reply With Quote
 

Tags
formatting, help a novice



Similar Threads
Thread Thread Starter Forum Replies Last Post
Table with values from several locations and years - need to find comp values Ricardo Sousa Excel 9 07-27-2018 02:06 AM
Help Displaying Values and Linking Table with values from several locations and years - need to find comp values Ricardo Sousa Excel 6 06-09-2018 10:51 PM
Multiple found values from five sheets, multiple returned values in sheet six? irisha Excel Programming 26 09-30-2016 01:20 AM
Help Displaying Values and Linking Linking fields to pull values from one field to another KWH Word Tables 3 01-27-2016 02:25 PM
Display multiple values as new values based on selection from template. MvdB Excel 2 09-29-2015 08:51 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 05:05 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft