Jump to content

Problem with _ExcelPaste


Recommended Posts

Dear all,

I am a AutoIT newcomer.

Thanks for your time.

Could you please support me how to solve this issue as belows?

I use _ExcelCopy to copy one cell.

After that, I use _ExcelPaste to paste the clipboard to a range of cells from cell A2 to cell A$i which $i is a variable.

I try to write _ExcelPaste($otest,A2:A$i) or _ExcelPaste($otest,"A2:A$i") but it dont work.

Please help me.

Thank you so much,

Regards,

CongTin

Link to comment
Share on other sites

"A2:A"&$i

You have to "tell" AutoIt that $i is a variable.

Whatever is between quotation marks is regarded as text.

Dear Enaiman,

You are great,

It works now. Thank you so much.

It sound very simple but I cannot figure out.

Thank you again,

Warm regards,

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...