Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a vbsctipt that opens an Excel(2007) document copies the used range from two sheets (minus the header on sheet 2) puts it all on 3rd sheet. I then need to sort that data using the header. I have the values of the range I need to sort in a vairable already. I just don't know the sytax to get Excel to sort it based on the data in Column A.

share|improve this question

migrated from serverfault.com Nov 20 '10 at 12:41

This question came from our site for system and network administrators.

See if this is what you're looking for.

http://www.tek-tips.com/viewthread.cfm?qid=1243616&page=1

share|improve this answer

You must log in to answer this question.