Use a BUILD DATATABLE activity and create a datatable with similar column structure of your excel and get the output with a variable of type datatable named dt
Now use a FOR EACH activity and pass the dictionary variable as input and change the type argument as System.Collections.Generic.KeyValuePair<TKey, TValue>
Inside the loop use a add datarow activity and mention the array row property like this {item.Key.ToString,item.Value.ToString}
assuming that we have only two columns
now after this FOR EACH loop we can use APPEND RANGE Activity inside EXCEL APPLICATION SCOPE and pass the filepath of excel as input so that it will append this datatable at the end
Create a datatble with 3 columns usign build datatable say dt and create an integer variable indexvar
Now use a for loop with input as dict("Name").ToString.Split(","c) and assign indexvar to index in for loop properties
Inside loop use add data row with dt as datatable and arrayrow as {currentItem,dict("Age").ToString.Split(","c)(indexvar),dict("Id").ToString.Split(","c)(indexvar)}
(From t In myDict.Values.SelectMany(Function (x,i) x.split(","c)).Select(Function (x,i) Tuple.Create(x.Trim,i+1))
Group t By k=t.Item2 Mod SegmentSplit Into grp=Group
Let ra = grp.Select(Function (gt) gt.Item1).Cast(Of Object).toArray
Select r = dtData.Rows.Add(ra)).CopyToDataTable
ADDED: incorporated dynamic Segmentation depending on SplitArray Length