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

I would think that this part of the code:

If oVisibleRows > iMostRows Then
	iMostRows = oPL.PartsListRows.Count
	oLongestPL = oPL
	iSheetNumber = CInt(oSheet.Name.Split(":").Last)
End If

...might need to be changed so it is not using oPL.PartsListRows.Count, and using oVisibleRows in its place, but I may b wrong in the intent there.

If oVisibleRows > iMostRows Then
	iMostRows = oVisibleRows 
	oLongestPL = oPL
	iSheetNumber = CInt(oSheet.Name.Split(":").Last)
End If

Wesley Crihfield

EESignature

(Not an Autodesk Employee)