Can't select range. Why the error?

  • Thread starter Thread starter agentsmith83
  • Start date Start date
A

agentsmith83

I'm trying to paste text into some cells (in column B) and then merge
with cells C through I. The paste command works, but I get an error on
the select line. I don't know why I can't select that range.


With ActiveSheet
..Range("B35").PasteSpecial
..Range("C35", Range("I35").End(xlDown)).Select
..Selection.ClearContents
..Selection.Merge (True)
End With

Thanks for any help.
 
Range expects an address, not a range object. Try this...

..Range("C35", Range("I35").End(xlDown).address).Select
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top