I can no longer select rows after copying a chart in a sheet (I'm using Excel 2003).
These lines (in a 1000+ lines macro)
Sheets("Bilan RDF").Select
Rows(ligne_UDI(1) & ":" & ligne_UDI(1) + 1).Select
ActiveSheet.Paste
works usually fine (there isn't any problem with the ligne_UDI values) but the Rows().Select fails after adding a chart on this sheet
(Traduct from french)
Error 1004
The 'Rows' method of the '_Global' objet failed
I tried using the following line to avoid the select line but it's also failing
ActiveSheet.Paste Destination = Rows(ligne_UDI(1) & ":" & ligne_UDI(1) + 1)
I though it could be the previous copy so I added the following line. It didn't help
Application.CutCopyMode = False
Any idea ?