need to set customized objects quantity on page

i have multiple number of objects to set on page. is there any macro from which i just import that object in a page then set quantity and it automatically set on the page with mentioned quantity in a neat and clean way?