Hi guys
My next problem is trying to copy to the clipboard the used range inside a sheet.
I can do this with the following:
oSheet.UsedRange.Rows.Copy
The problem that I have is if the amount of data is huge. In this case, I would like to make the copy in several steps.
For example, if oSheet.UsedRange.Count > 10000
oSheet.UsedRange.Rows.Copy (for 1 -> 100 )
‘ Some processing
oSheet.UsedRange.Rows.Copy (for 101 -> 200 )
‘ Some processing
…
How can I do this?
I have been trying to do this with this sentence
oSheet.UsedRange(“1:100”).Copy
but I got the “Type mismatch” error
Any hints?
Thanks a lot