Sorry for the very newb question, but I have used
XLOpen>C:\Users\newb01\Desktop\Macro Scheduler Test.xlsx,1,xlBook
XLGetCell>xlBook,Sheet1,1,1,strValue
Run>Notepad.exe
Press>ctrl
Send>v
Release>ctrl
press>ctrl
send>v
release> ctrl
to paste, but the value is not pasting. What am I missing here?
How to paste Excel cell value in another applcation?
Moderators: Dorian (MJT support), JRL
Re: How to paste Excel cell value in another applcation?
The XLGetCell> function does not put the value of the cell to the clipboard, the cell value is in your variable "strValue". So either use put clipboard to put strValue to the clipboard or do something like:
Code: Select all
Run>Notepad.exe
WaitWindowOpen>Notepad*
Wait>0.5
SetFocus>Notepad*
Send>strValue