You're not calling the enum properly. Replace swComponentFullyResolved with swComponentSuppressionState_e.swComponentFullyResolved
or just replaceswComponentFullyResolved its value 2.
If you want to use swComponentSuppressionState_e make sure that solidworks const library tlb is referenced. VBA automatically references it for you when you're create a new macro.
Public Enum swComponentSuppressionState_e swComponentSuppressed = 0 swComponentLightweight = 1 swComponentFullyResolved = 2 Enum
Thanks for the reply, and the helpful tip. Unfortunately, that did not fix it. I am still getting the same error.
Edit: OK, now I am trying to set these lightweight components to resolved manually in the Feature Manger, and they are not changing. This seems bizarre, any ideas?