Highest Value In A Range

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi

How can I find the highest value in the range "D:K" and place that value in
a cell ie "A6"

Thanks
Alec
 
Thanks for your reply Michael,

Sorry, but forgot to mention that I want this to work on the click of a
button.

Thanks Again Alec
 
Try this in your click event of your button
Range("A6").Formula = "=Max(D:K)"
 
Attach this to your button

Range("A6").Value = WorksheetFunction.Max(Range("D:K"))
 
Thanks Michael

Michael said:
Attach this to your button

Range("A6").Value = WorksheetFunction.Max(Range("D:K"))


--
If this posting was helpful, please click on the Yes button.
Regards,

Michael Arch.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top