macro coding

  • Thread starter Thread starter Andrew
  • Start date Start date
A

Andrew

if i have a page of random specific numbers, how do i get
the macros (on excel) to choose specific numbers and also
put them in order for largest to highest?
 
Presume you mean lowest to highest? For range in column A

Range("A1:A500").Sort Key1:=Range("A1"), Order1:=xlAscending

Cheers
Nigel
 

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