xxxxxxxxxx
;you must put options before the code
StringCaseSense On
AutoTrim, On
;you case use this code when copying data from excel and paste it elsewhere
clipboard := StrReplace(clipboard, "`r") ; trims linebrake
clipboard := StrReplace(clipboard, "`n") ; trims enter
clipboard := StrReplace(clipboard, """") ;trims "" when copy from excel
yourvariable := clipboard ;creates your variable from clipboard