How to combine two SpecialCells CellTypes?

  • Thread starter Thread starter Stacy35216
  • Start date Start date
S

Stacy35216

Thanks for the reply.

Unfortunately, there aren't always formula cells in the range.
In that case, Excel doesn't get past the line

Set rng2 = Range("A1:C25").SpecialCells(xlFormulas)

because it throws an error saying that no cells were found. I don'
know why it can't have a null set
 
Always use a on error with specialcells
See Norman's example
 

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