macro

  • Thread starter Thread starter helo
  • Start date Start date
H

helo

how do i select through using macros the highest ranging
numbers with 2 specific numbers?
Example
$400 $600 how do i get the macro to select the
$700 $800 highest number in each row? (Row= --> )
$500 $200
 
try
Sub maxinrow()
For Each c In Selection
MsgBox Application.Max(c.EntireRow)
Next
End Sub
 

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