Set array of variables and clipboards in a loop to fill out form fields

I've used KM to capture a list variable to a clipboard in a loop to enter each item from the variable list to a single field but my next project involves multiple variables, clipboards, and fields in a loop and when I paste the clipboard variables to their own fields, I'm only able to get the first variable to work and need help for each of the others.

What I'm trying to do:
a) Capture set data. There are 5x columns of data (A,B,C,D,E where row 1 is the first array of data, and subsequence rows are random based on a daily report).
b) I use KM to copy each column to it's own clipboard (5 total) which are set to their own variables. I've limited 3 rows in this example where it's typically 30-200 in most cases.
%PO%
%InvDoc%
%InvDate%
%InvDiscount%
%InvNetDue%

I get this when I display each items in each variable clipboards so I know the clipboards and variables are saving the data.

7930001679
7930001694
7930001680

1366030
1366029
1366031

12/12/2023
12/12/2023
12/12/2023

01/01/2024
01/01/2024
01/01/2024

02/10/2024
02/10/2024
02/10/2024

The objective now is to paste each set array of variable clipboards in their row sequence to separate fields of the form. I'm filling out a form of multiple Purchase Orders, where there is no import option so the Macro is the only option to use.

c) Each variable are filtered to a local_numberCount, which is 3 in this example, and set to a "current" local_countLength, which is 1 the starting count.
d) The condition is when the local_numberCount is > the current count, then loop and add +1 to current count. I set a "for each" loop to look at the first row of column A where the first array will be displayed by set Named Clipboard of each clipboards to plain text, then loop back to show the next row but it only works for the first clipboard sequence.

1 of 3
--------------------
PO Num - 7930001679
**Inv Doc -
**Inv Date -
**Inv Disc date -
**Inv Net Due date -
--------------------

2 of 3
--------------------
PO Num - 7930001694
**Inv Doc -
**Inv Date -
**Inv Disc date -
**Inv Net Due date -
--------------------

3 of 3
--------------------
PO Num - 7930001680
**Inv Doc -
**Inv Date -
**Inv Disc date -
**Inv Net Due date -
--------------------

Is there a way to expand the "for each item in a Collection.." to include the other clipboard variables? I cannot do a for each within a for each because the result is the last set data of that array in the sub for each loops. I tried to find add-ons but at a lost to find any. Or maybe there is another way?

I believe I figured this out with the help from this post: Split Each Word Into Separate Variable

What I did was copied all the columns and rows into a single variable string.
In my for each loop, I used the "search and replace" of the variable string using the \t as the delimeter and assigned the different variables an index from the main variable string.

my variable string (5 columns & 5 rows) are separated by a tab (excel sheet)

7930001779 1366431 12/19/2023 01/08/2024 02/17/2024
7930001783 1366430 12/19/2023 01/08/2024 02/17/2024
7930001775 1366433 12/19/2023 01/08/2024 02/17/2024
7930001739 1366204 12/19/2023 01/08/2024 02/17/2024
7930001791 1366207 12/19/2023 01/08/2024 02/17/2024

This is the filter, condition, and search & replace.
Screenshot 2023-12-21 at 2.20.45 PM

This is what I used to index each data separated by the tab delimeter.
%Variable%local_currentPOCount% of %Variable%local_numberOfPOs%

PO Num - %Variable%local_POnum[1]===%
Inv Doc - %Variable%local_POnum[2]===%
Inv Date - %Variable%local_POnum[3]===%
Inv Disc date - %Variable%local_POnum[4]===%
Inv Net Due date - %Variable%local_POnum[5]===%

the results:
1 of 5

PO Num - 7930001779
Inv Doc - 1366431
Inv Date - 12/19/2023
Inv Disc date - 01/08/2024
Inv Net Due date - 02/17/2024

2 of 5

PO Num - 7930001783
Inv Doc - 1366430
Inv Date - 12/19/2023
Inv Disc date - 01/08/2024
Inv Net Due date - 02/17/2024

3 of 5

PO Num - 7930001775
Inv Doc - 1366433
Inv Date - 12/19/2023
Inv Disc date - 01/08/2024
Inv Net Due date - 02/17/2024

4 of 5

PO Num - 7930001739
Inv Doc - 1366204
Inv Date - 12/19/2023
Inv Disc date - 01/08/2024
Inv Net Due date - 02/17/2024

5 of 5

PO Num - 7930001791
Inv Doc - 1366207
Inv Date - 12/19/2023
Inv Disc date - 01/08/2024
Inv Net Due date - 02/17/2024

Now, all I have to do is past the indexes of local_POnum to the form fields. Yay!