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

Created Unassigned: cannot access to Rows property in ExcelAPI [21962]

$
0
0
Hi,
I'm a new user of net office and I'm trying to make a ribbon addin to Excel. It's kind of a proof of concept to show it is possible to make a real powerfull/clean/maintainable development using .NET instead of writing tons of vba code (using sharpdevelop).
One of the basic feature I'm trying to show is to select a row in a sheet, click on a button and then insert a row just underneath the one selected.
You could write it in vba like this:
Selection.Rows.insert()
But I can't find any Rows property (nor any Columns property) in Worksheet class (can't find it anywhere else). Then I tried to find methods provided by ExcelAPI DLL; I just found that Rows property exist but that Browsable attribute has been set to false.
Is this expected? If so, how can I access that property to insert a row where I want?

thank you

Viewing all articles
Browse latest Browse all 1741

Trending Articles



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