Excel get_Range

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I use the following statement to get a range in Excel worksheet:

Excel.Range oRange = oSheet.get_Range("A1", "A10");

How can I get the entire column?

Thanks.
 
A column is represented by a range as well. You can use the get used range
method call. That provides the used column range.
 

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