Part of my VBA code involves copying and pasting a long string from one cell to the other. My code works fine until if there are too many characters in the source cell. After some tests, I think my code will generate an runtime error 1004
if the number of characters in Cell E16
is greater than 8000 (approximately). At this moment, I have a workaround approach which is to assign the source cell to an intermediate cell. If possible, may I know what is the cause of this issue? Do I need to split the content of my cell (E16) into more than 1 if it is really long?
This approach does not work if too many characters are in E16
Sheets(SN_Pound).Range("A10") = Sheets(SN_LV).Range("E16")
This approach works
CHR_LV_str = Sheets(SN_LV).Range("E16")
Sheets(SN_Pound).Range("A10") = CHR_LV_str