Trying to get an AutoHotKey script for copying from Excel.
Seems like the answer is in this link.
https://autohotkey.com/board/topic/62759-remove-linebreak-after-copying-excel/
Where it resolved to just a single line of code in the end after about twenty iterations.
If you are just looking to trim the line feed off the clipboard content (like what you get after copying excel)
StringTrimRight, MyVar1, clipboard, 2
should store your string to MyVar1
However, don't know what the whole script should look like.
Sincerely,
OT