We have a calculation sheet that exports a list of test treatments to Excel from another database. We then run a macro on it to insert formulas to calculate certain things for our lab work. There can be anywhere between 1 and 25 treatments usually.
When the data exports to excel, the treatment number is listed in column 1 (A). There might be multiple lines of data per treatment, but the treatment number is only printed once on the first line of that treatment.
When there are multiple treatments in the list, it is difficult to distinguish them from one another because there are no spaces between the different treatments. See below: (well, in the post it aligns everything to the left, but the numbers and the chems are in different columns)
1 chem 1
chem 2
chem 3
2 chem 1
chem 3
3 chem 2
chem 3
4 chem 3
Is there a way to insert a blank row above each row with a number in the first column? I think it would involve searching down until finding a populated cell and inserting a row. Somehow it needs to only do it for numbers though, because there is some text that prints out at the end of the treatment list. I've seen similar problems solved on the board but I can't figure out how to put them together to do this.
Help?
When the data exports to excel, the treatment number is listed in column 1 (A). There might be multiple lines of data per treatment, but the treatment number is only printed once on the first line of that treatment.
When there are multiple treatments in the list, it is difficult to distinguish them from one another because there are no spaces between the different treatments. See below: (well, in the post it aligns everything to the left, but the numbers and the chems are in different columns)
1 chem 1
chem 2
chem 3
2 chem 1
chem 3
3 chem 2
chem 3
4 chem 3
Is there a way to insert a blank row above each row with a number in the first column? I think it would involve searching down until finding a populated cell and inserting a row. Somehow it needs to only do it for numbers though, because there is some text that prints out at the end of the treatment list. I've seen similar problems solved on the board but I can't figure out how to put them together to do this.
Help?