Helo everyone, I am still new and need guidance. I need to insert all of my email address into String from dataTable. How could I do this? My table looks like this.
First thing I did was using the Read Range. Then created the arrEmail as String of array and assign the value into the array inside the for each row but I got error like this.
Hello @kristoff, you’re close. Is there a reason you need to use array (arrEmail)? If you really need the array then that is also possible but first you need to use a list of string, lets name it listEmail. You need to initialize the list in the Variables panel by assigning it’s default value to New List(Of String). Then inside the Body of your existing For Each Row, replace the assign with Add To Collection. Collection is your listEmail and item is row(5).ToString. Then after your For Each row use an assign activity, to: arrEmail value:listEmail.ToArray