I seem to get a recurring error when I open a file containing the following SENDKEYS text. I snipped this from a WordPad image of the file.
It shows a (Shift+,) which represents a '>' on my PC keyboard. The comma disappears when I open the file. I suspect having two commas in a row in the source is causing problems when the file is opened. After opening, the SENDKEY statement then reads (Shift+). I keep having to restore the comma.