J
jamie.fallon
Does TypeText return before completing?
I have a long macro that does loops. In the loop, it does a find, and
then uses TypeText to replace the found string, and then does a few
MoveDown's and deletes some stuff. If I step through the code line by
line it works fine, but when I run the macro, it seems to do the
delete before typeText is finished. I might have solved the issue by
putting a delay after the TypeText so that word can "catch up" to the
typing. But this seems like a bad solution. Can anyone answer the
above question about TypeText?
I have a long macro that does loops. In the loop, it does a find, and
then uses TypeText to replace the found string, and then does a few
MoveDown's and deletes some stuff. If I step through the code line by
line it works fine, but when I run the macro, it seems to do the
delete before typeText is finished. I might have solved the issue by
putting a delay after the TypeText so that word can "catch up" to the
typing. But this seems like a bad solution. Can anyone answer the
above question about TypeText?