AutoFit columns and rows in BOMTable

Hi,

I want to make AutoFit columns and rows in BOMTable on the drawing and in assembly.

Tell me, please, can I use the VBA API for this?

Sorry for my English.

Thanks

SolidworksApi macros