Macro for cube, centered

I was wondering if some one could make a macro that wouldcreate a cube and have it be centered on the origin. Of course Iwould want it to prompt me for the dimensions. Thanks, this wouldbe a huge help.SolidworksApi macros