Sign up ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have recorded a macro to get a filtered set of 6 numbers and paste them in row 1.I want to get another set of 6 numbers in row 2 when I next run the macro and a third set in row three and so on when I run it for the third time and so to do it?

share|improve this question
What exactly you want? just rerunning a macro ? –  shA.t Mar 17 at 18:39

1 Answer 1

Before doing the filtering, do a check to see if there is any data in the row, and increment if there is. Something like:

If Range("A1") <> vbNullString Then

should do it (I don't have excel in front of me, atm).

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.