Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi
I found a C# example of an Excel add-in at http://www.codeproject.com/dotnet/excelnetauto.asp. I made some changes to this project and made a function that takes an Excel.Range as a parameter. Intellisense showed that there is an interface called IRange as well as Range. What's the difference? When would you want to use an IRange? TIA, Fredrik Here's my added C# function. public int GetRangeSize1(Excel.Range range) { return range.Columns.Count * range.Rows.Count; } |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
sum the difference in a range | Excel Worksheet Functions | |||
Date Range & Difference | Excel Worksheet Functions | |||
Count difference based on Range | Excel Worksheet Functions | |||
Labelling a row so it can be used as an offset for sum, difference or range | Excel Discussion (Misc queries) | |||
Difference between range.formula and range.formulalocal | Excel Programming |