I got a problem trying to retrieve name property of a codemodule from code (C#).
When I alt+f11 my excel file I have the following:
Chart1
Sheet2
Sheet3
ThisWorkbook
When displaying properties for these, they have following properties
(Name): Chart1
Name: Pass Rate
What I want to do is access the property “Name” from C#. Is this possible? All I seem te be able to retrieve is “(Name)”.
Using interop 11.0.0.0 (office 2003)
This will give you the name of the worksheet
and this will give you the Code Name of the worksheet
Note:
wsabove is your worksheet object.