Macro - Loop

Good day, can anyone assist with the following?

We have the following macro where we insert 8 x Tie bolts into an assembly.

We need to reduce the size of the macro and think that a loop will suit us better than inserting 8 individual tie bolts (as per macro)

How do we go about writing a loop that will ensure that we get the same results at the end?

Regards.

Chris Botha.

Macro: (see attached files)

SolidworksApi macros