Dropdowns.pngtoc.png

As shown in the picture, I have a tab TableofContents and a tab Sheet1. I need to copy all rows which have a number under column A, or in this case row 5 (1.01), row 28 (1.02),...in sheet 1 and paste it in that order in the Table of Contents tab starting from cell A5. I don't want any empty rows in between.

Since sheet 1 has all these different tests, is it possible to page break sheet 1 and assign page numbers to the rows pasted in TableofContents tab under column G(eg., starting with cell G5).