Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
Anonymous
481 Views, 3 Replies

How Can I Make This Neat? VBA code

I've written a piece of code that inspects large assemblies and part of it is going through each assembly and sub assembly until it gets to the parts (and then does things).

 

I've attached an image of my code as copy and paste doesn't seem to be helping.

 

I basically have this many times- is there a way to make it neater? It's awful coding I'm sure Smiley Tongue