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

Hi @OPthorsager . I suggest using the Do - Loop statement and exiting it if the text is empty. Here is an example of using the operator:

Dim sTest() As String = {"123", "456", "789", ""}
Dim iRow As Integer = 0
Do While Not String.IsNullOrEmpty(sTest(iRow))
	MessageBox.Show(sTest(iRow))
	iRow += 1
Loop

 You can see that array 4 has empty text so we only get 3 messages.

Andrii Humeniuk - CAD Coordinator, Autodesk Certified Instructor

LinkedIn | My free Inventor Addin | My Repositories

Did you find this reply helpful ? If so please use the Accept as Solution/Like.

EESignature