Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
Anonymous
in reply to: andrew.tom.reynolds

Glad you found a solution that works for you.  However, you should be aware that this code will count all occurrences, even ones that are marked phantom or reference.  If there is ever the possibility of using reference parts, you should use the BOM functions shown in my example, or filter them out in your loop.