Error while copying more than 8202 characters from one cell to another

前端 未结 4 595
一整个雨季
一整个雨季 2020-12-20 19:59

Problem - I have around more than 8202 characters in once cell say Range(\"A1\").

Now I would like to copy the content of cell(A1) to cell(A2) usin

4条回答
  •  难免孤独
    2020-12-20 20:42

    Change your code to

    Sheets("XYZ").Range("A2") = Sheets("XYZ").Range("A1").Value
    

    and it will work.

    Not really sure why though, as .Value is the default property of a range.

提交回复
热议问题