andre30331
New Member
- Joined
- May 14, 2014
- Messages
- 29
Hi all – I cannot seems to find anything to fit my situation and everything I’ve tried so far has failed. I'm looking for a macro that will look at the values in column E that have different ID values that should be in minimum quantities of 26 for each unique ID.
In the case where there are less than 26 records for an ID I would the script to add the missing number of rows to meet the 26 item requirement. So if ID 30 only has ten (10) records the script would then add sixteen (16) rows for that record and so on. In the case where there are more than 26 rows for an individual ID I would like to script to insert one row after the last one in that group and contain the text “Max ID’s exceeded”. Is this possible?
Thanks in advance,
In the case where there are less than 26 records for an ID I would the script to add the missing number of rows to meet the 26 item requirement. So if ID 30 only has ten (10) records the script would then add sixteen (16) rows for that record and so on. In the case where there are more than 26 rows for an individual ID I would like to script to insert one row after the last one in that group and contain the text “Max ID’s exceeded”. Is this possible?
Thanks in advance,