Jump to content
Macro Express Forums

Array Number of first element with no content

Recommended Posts



i habe an text Array with 10 elements - that will be filled with names - how can i check the first element where there is no content (perhaps with a Loop?). e.g. i have seven names - the first with no content is element 8.

or is there a function.


thank you



Link to comment
Share on other sites

Repeat Start. Set the iterations to 10, start at 1, step 1. Then opt to save the counter to a variable. EG %Counter%. Then use %Counter% as your index to point at each element. EG %Name[%Counter%]%. Then just do a text comparison on each until the condition is met.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...