How can I open a sub assembly while traversing components.

I am trying to open a sldasm file while traversing my main assembly.  The method I am trying works for sldprt files, but won't open sldasm files.  How can I do this?  I have tried opendoc6 but get a warining that the file is already open.

Thanks,

Bryan

SolidworksApi macros