I took a more thorough look at it now. The code is pretty clean but it could certainly be improved. I didn't do that, I just did the minimum to make it work and I think it works now.
Yes the 3 should be changed to an 8, like you already done.
I also changed a few lines of code as you can see in my comments in the code.
The code for the Update All button seems to have been copied for the individual Update buttons since there is a loop looping through all sheets in each sub. I simply blocked out the loop with ' and put in a name for the worksheet instead of the "i".
I also added an IF to test if the sheet is empty.
If the sheet is empty lrow becomes 2 and all the formulas like
(.Range("E3:E" & lrow).FormulaR1C1 = "=SUM(RC[-1]/20)")
will actually go from E3:E2. That's where the problem is since you have your headers on row 2.
Now, I'm a bit lazy so I was hoping you could make the changes I did for "Spaniel Special Puppy" on the other dog classes as well.
No need to mess with the copy_rows() sub, it should be done.
Bookmarks