Quantcast
Channel: NetOffice - MS Office in .NET
Viewing all articles
Browse latest Browse all 1741

New Post: Excel Named Range - Worksheet Scope

$
0
0
How do I create a named range in Excel with a worksheet scope and not a workbook scope? I have tried the following but both give a workbook scoped named range...
Excel.Range range = ...
range.Name = "some name";
Excel.Worksheet sheet =...
Excel.Range range = ...
sheet.Names.Add("some name", range);

Viewing all articles
Browse latest Browse all 1741

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>