Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Resize ranges in C#

Posted on 2009-04-08
2
Medium Priority
?
376 Views
Last Modified: 2012-08-13
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
Comment
Question by:busapps
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 26

Assisted Solution

by:Anurag Thakur
Anurag Thakur earned 2000 total points
ID: 24099044
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
 
LVL 1

Accepted Solution

by:
busapps earned 0 total points
ID: 24111776
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

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article introduced a TextBox that supports transparent background.   Introduction TextBox is the most widely used control component in GUI design. Most GUI controls do not support transparent background and more or less do not have the…
Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question