How can I save all Part Configurations to eDrawing (EPRT) file

If I save my Part as an eDrawing, I get the "SaveConfigurations to eDrawings file" dialog. I select "AllConfigurations" and get a great EPRT file with a tab for eachconfiguration that existed in the original Part. I am trying to dothe same thing from a VBA macro via the SaveAs command. A EPRT fileis generate, but only with the current configuration. If I record amacro and do the SaveAs, no code is generated for the "SaveConfigurations to eDrawing file" dialog.

How can I export a Part with multiple configurations to an EPRTfile from a VBA macro?

I am using SolidWorks 2008 with SP5.0.

Thanks!SolidworksApi macros