Macro to center multiple drawing sheets

Does anybody have a macro that will center and fill a drawing sheet in the graphics area and repeat for multiple sheets (up to 50) ?

SolidworksApi macros