View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips[_4_] Bob Phillips[_4_] is offline
external usenet poster
 
Posts: 834
Default VBA to select all cells with content

Try

Range("A1").CurrentRegion.Select

--

HTH

Bob

"Colin Hayes" wrote in message
...

Hi

I need some advice with some VBA coding.

I need to select all the cells in my worksheet which have content.

Effectively selecting from A1 to the last cell in the last row , whichever
it happens to be..

Can someone help with this?

Thanks