I am copying some data from one application using ctrl+C and want to paste in some specific cell in an excel.
Now i am pasting it into notepad then again using the “Copy selected text” and putting that variable into specific cell using “Write Cell”
This is taking time as notepad is coming in the scene between application and excel.
Can I pate the data directly from application to excel?Is there any convenient way?
Please let me know.
Thanks
Please tell me how i can store the value into one variable?if it will possible then this problem will be solved.I am using send hot key to copy the data(ctrl+c). After that what I need to do?
I tried using “copy selected text” after “ctrl+c”. But I am getting runtime error. Seems it is for clipboard only. Is there any other way except including notepad for communicating between application and excel?
Thanks
After you use Ctrl+C then use an Excel Application Scope and pass that worksheet path. Then inside that use Ctrl+V send hot key and highlight spy the cell where you want to paste it and Ctrl+S send hot key.
Note: Drawback is that it will not paste the values into the right cell unless until the position was changed and saved in excel before the BOT runs.
In that case we should use some other logic to execute it.