pack and go VBA crashing

Trying to script Pack and GO in Solidworks.  I followed the API example in the Solidworks API document.  Every time it gets to the step on getting the Pack and GO interface it crashes swVBAserver. 

          Set swPackandGo = SwModelDocExt.GetPackAndGo 

Solidworks reimains open, but I cannot re-open the SW script editor again until I restart Solidworks 2011.  Can anyone shed some light as to what's going on and how I can work around this?

SolidworksApi macros