Click here to Skip to main content
15,879,613 members
Articles / Programming Languages / C#

A Very Easy to Use Excel XML Import-Export Library

Rate me:
Please Sign up or sign in to vote.
4.18/5 (86 votes)
25 Nov 2008CPOL13 min read 643.8K   19.6K   356  
Import export library for the Excel XML format, which reduces a programmer's work to the bare minimum.
using System;
using Yogesh.Extensions;

namespace Yogesh.ExcelXml
{
	internal class NamedRange
	{
		#region Private and Internal fields
		internal Range Range;
		internal Worksheet Worksheet;
		internal string Name;
		#endregion

		#region Constructor
		internal NamedRange(Range range, string name, Worksheet ws)
		{
			if (range == null)
				throw new ArgumentNullException("range");

			if (name.IsNullOrEmpty())
				throw new ArgumentNullException("name");

			Worksheet = ws;
			Range = range;
			Name = name;
		}
		#endregion
	}
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
India India

Comments and Discussions