End(xlDown) won't work
I'm actually looking for the end of nonblank cells (or the beginning of
blank cells).
That's how it was working before anyway.
NickHK wrote:
Mike,
Yes, but starting from A1, if there are no entries then what do you expect.
You are looking for the end of blank cells.
NickHK
"mike"
egroups.com...
Nick,
Thanks but it works exactly the same. Stalls at the paste line unless I
put something in A2, then it starts at A3 ok.
NickHK wrote:
Mike,
Does it work with just
Sheets("Order").Range("R2:AP2").Copy
Sheets("data").Range("A1").End(xlDown).Offset(1, 0).PasteSpecial
Paste:=xlValues
There is normally no to .select object tin order to work with them.
NickHK
"mike"
groups.com...
Well I'm wanting to start at the first 'different' cell, that is the
first empty cell.
Apparently something about there only being one non-empty cell in the
range specified is throwing it off.
For example, I'm trying to find the first unused cell to paste to. It
doesn't work until I have at least two cells in the range that are not
empty. If only one is not empty, it freaks. I don't know why. I can add
an extra row to get it to work but it's really bugging me as to why it
doesn't just work with only one nonempty cell.
|