Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 385
  • Last Modified:

Resize ranges in C#

I am trying to resize ranges in c#. there is no resize method of the range object in c# as it was in vb.net. Can somebody suggest the efficent way to achieve this.
0
busapps
Asked:
busapps
2 Solutions
 
Anurag ThakurTechnical ManagerCommented:
why dont you use a generic list List<T> in this you dont have to worry about resizing becasue you can just keep on adding T type to it by using the Add method
0
 
busappsAuthor Commented:
Well ragi0017, the ranges in the excel sheets have been predefined ( named ranges). I need to populate these ranges with a loop up table which may have not have the same no of records as the no of rows
in the named range. Thus I need to resize them.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now