NBVC
Well-known Member
- Joined
- Aug 31, 2005
- Messages
- 5,828
Hi everyone,
I am trying to insert rows based on the result of Countif's. How would I go about doing this using VBA....still trying to grasp many VBA concepts.
In Sheet1 I have a bunch of names in A1:A30, many are duplicates.
In Sheet2 I have a unique list of names that are found in sheet 1. This list is in A1:A5
Starting at A10, I want to insert the name in A1 and insert rows below = the number of times that name is found in Sheet1!A1:A30. Immediately following I will insert next name and repeat procedure until all names have been cycled through.
Thanks in advance.
I am trying to insert rows based on the result of Countif's. How would I go about doing this using VBA....still trying to grasp many VBA concepts.
In Sheet1 I have a bunch of names in A1:A30, many are duplicates.
In Sheet2 I have a unique list of names that are found in sheet 1. This list is in A1:A5
Starting at A10, I want to insert the name in A1 and insert rows below = the number of times that name is found in Sheet1!A1:A30. Immediately following I will insert next name and repeat procedure until all names have been cycled through.
Thanks in advance.