Hi Khan,
There is much about your post that is unclear; for best results in the future, I recommend reading this and following its suggestions: How Do I Get the Best Answer in the Shortest Time?
That said, I was able to figure out the crux of what you're asking, and this example macro should show you how to iterate through each value in a variable array for as many values as the array holds and insert each one via typing:
Example Macro.kmmacros (2.6 KB)