So im trying to write some VBA for my excel spreedsheet.
I have a table with four coloumns, i read each line and I want it to skip that line if coloumn 1 2 or 3 is empty, but instead it exits and doesnt move to the next line.
For y = LBound(myArray) To UBound(myArray)
If myArray(y, 1) = "" Then Exit For
If myArray(y, 2) = "" Then Exit For
If myArray(y, 3) = "" Then Exit For
Attribute = "Animal"
Value = myArray(y, 3)
Value = myArray(y, 2) & "¦" & FoodFunc(Value) & "¦" & myArray(y, 4)
Debug.Print Value
Next y
Debug.Print "***TEST FINISHED***"