InsertBOMTable4 does not appear to recognize the different kinds of numbering

I used this example to start my macro:

http://help.solidworks.com/2013/English/api/sldworksapi/Insert_and_Show_BOM_Table_and_BOM_Balloon_Example_VB.htm

I am trying to insert an indented BOM. It will insert.

If I use the following statement, I get the detailed numbering I want.

Set swBomAnn = swView.InsertBomTable4(False, 0.4, 0.3, AnchorType, BomType, Configuration, TableTemplate, False, 1, True)

If I use the following statement, I don't get detailed numbering.

Set swBomAnn = swView.InsertBomTable4(False, 0.4, 0.3, AnchorType, BomType, Configuration, TableTemplate, False, swNumberingType_Detailed, True)

Has anyone else had this problem?

I am on Solidworks 2013, SP4.0.

Thanks,

Carrie

SolidworksApi macros