Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Excel Ranges with C#.net
Hi,
I am making some Excel 2007 templates using C#.net and I have a couple of questions. If I have a named ranged (I set this using "sheet.get_Range(Cell1, Cell2).Name = rangeName;", how can I get that range again using just the name? I would really like to do something like Range newRange = sheet.get_Range(RangeName); but can find nothing like that. Is that possible? Also, is there a way to defined a named range with discontinuos cells? Excel will allow me to make a Name which is assigned to arbitrarily selected cells, but I can't find a way to do it in code. Thanks! Ethan |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
how copy formula that contains ranges so ranges do not overlap | Excel Worksheet Functions | |||
Named ranges scope / workbook/worksheet level named ranges- changeswith variable use... | Excel Programming | |||
union of named ranges based only on the names of those ranges | Excel Programming | |||
Copy data in named ranges to a newer version of the same template to identical ranges | Excel Programming | |||
named ranges - changing ranges with month selected | Excel Programming |