excel macros

  • Thread starter Thread starter steve
  • Start date Start date
S

steve

is there a way to determine the range of populated cells
in a spreadsheet?
 
steve,

Populated cells???

Try
ActiveSheet.UsedRange.Select

Possibly you just want a contiguous range??
Activecell.currentregion.select

You can look up both of these in the VBA Help.

John
 

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