Copy cell with more than 921 charcters
Solved/Closed
deepindersingh0142
Posts
3
Registration date
Friday December 2, 2011
Status
Member
Last seen
December 5, 2011
-
Dec 5, 2011 at 10:44 AM
deepindersingh0142 Posts 3 Registration date Friday December 2, 2011 Status Member Last seen December 5, 2011 - Dec 5, 2011 at 11:57 AM
deepindersingh0142 Posts 3 Registration date Friday December 2, 2011 Status Member Last seen December 5, 2011 - Dec 5, 2011 at 11:57 AM
Related:
- Copy cell with more than 921 charcters
- Which example represents cell data with the date format applied to it? - Excel Forum
- An example of a cell is a blank cell ✓ - Programming Forum
- Clear only the formatting from the selected cell (leaving the content) - Guide
- If cell contains date then return value ✓ - Excel Forum
- Excel "IF" function w/ date in test cell ✓ - Excel Forum
3 responses
rizvisa1
Posts
4478
Registration date
Thursday January 28, 2010
Status
Contributor
Last seen
May 5, 2022
766
Dec 5, 2011 at 11:30 AM
Dec 5, 2011 at 11:30 AM
I am not sure about the character limit. However how about trying to truely copying and paste instead of
e.Rows(d).Value = k.Rows(m).Value
e.Rows(d).copy
k.cells(m,1).pastespecial
e.Rows(d).Value = k.Rows(m).Value
e.Rows(d).copy
k.cells(m,1).pastespecial
deepindersingh0142
Posts
3
Registration date
Friday December 2, 2011
Status
Member
Last seen
December 5, 2011
Dec 5, 2011 at 11:42 AM
Dec 5, 2011 at 11:42 AM
I am not sure how .copy works but when I replaced that code with your lines it left the entire sheet blank and didnt copy anything!
Ofcourse it didnt throw the error 1004 which I was earlier getting from my code. But my code crashed at the cell that had more than 921 characters!!
Thanks for your help again!
Ofcourse it didnt throw the error 1004 which I was earlier getting from my code. But my code crashed at the cell that had more than 921 characters!!
Thanks for your help again!
rizvisa1
Posts
4478
Registration date
Thursday January 28, 2010
Status
Contributor
Last seen
May 5, 2022
766
Dec 5, 2011 at 11:44 AM
Dec 5, 2011 at 11:44 AM
oops
it was supposed to be
k.Rows(m).copy
e.cells(d,1).pastespecial
My bad..
it was supposed to be
k.Rows(m).copy
e.cells(d,1).pastespecial
My bad..
deepindersingh0142
Posts
3
Registration date
Friday December 2, 2011
Status
Member
Last seen
December 5, 2011
Dec 5, 2011 at 11:57 AM
Dec 5, 2011 at 11:57 AM
Super... that worked perfect!
Many thanks!! :)
Many thanks!! :)