I have .txt file with some lines:
qqqq
wwww
weee
errrr
rttttt
yyyyy
uuuu
How to create a loop that will read each line in file, put it to clipboard and finally paste it to any form.
I have tried many variant, but my macros always read the whole file, not the each line.
Hey Sam,
This should give you an idea.
Instead of setting a variable to text you'll read your file into a variable.
Then inside the For Each action you'll copy to the clipboard, paste, and whatever else.
-Chris
Generic-Test 01.kmmacros (3.7 KB)
Chris, I took your suggestion and macro, and built it into a complete macro for reference.
@sam_kotobski, take a look at this macro to see if it will meet your needs: