Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

C# Interop Excel Question

Status
Not open for further replies.

kav123

Programmer
Jan 12, 2005
210
GB
I am using Excel Interop to read and write data from/to an Excel Spreadsheet. The first hurdle i have hit is, that i get "Cells were not found error", even though there is data in the spreadsheet.

I am using the following at the moment, as a test:

oRngLicenceNumbers = oSheet.UsedRange.get_Range("A1", "A6");
 
You should be using your best friend, GOOGLE, to search for help. Using these keywords: excel spreadsheet c# returns over 5.5 MILLION results. There are lots of samples.

You really didn't provide enough code to be helpful.

Good luck.
 
Ok, has anyone used get_offset method. Basically i need to get values from every alternate column in a row, till the end of the row i.e. where the data ends.

Please any help would be great
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top