Run all studies macro

Hi,

I was trying to recreate the "Run All Studies" command in Simulation as a macro.  The default button for this dissappeared when the interface was customized, and I can't seem to recover it unless I reset to the default interface.  I was wondering if anyone has knows the VBA code to execute this operation.  I couldn't seem to capture the code when recording a macro so I thought I would ask if anyone has done this before.  Thanks in advance!

SolidworksApi macros