My working code has the line,
Cells(i - 1, 13) = Cells(i, 1)
Where Cells(i - 1,13)
is blank, and Cells(i,1)
contains text. The macro works fine, but when cells(i,1)
has a very large amount of text, it throws up a Runtime error.
Is there a workaround for this? I know the problem is caused by the string being too long, as making it shorter avoids the error. It also works fine if I copy and paste the contents of the cell, rather than 'equalling' them. Googling gave me little information on this. Has anyone come across this limitation before?