Finally got this one working...
Inspired by 2016 SOLIDWORKS Help - Best Practice for Configurations with External References
It will configure your parts to match the assembly
Works entirely by pre-selection.
Select the Components and Configurations you would like to Apply
If no selections are made the macro assumes you want everything...
..but will ignore hidden components.
Not Fully Tested ... Caveat Emptor
swp & mp4 attached
SolidworksApi/macros