E
ep
I'm trying to define names in my add-in through my Excel.Application object's
..Names.Add method. This works fine if I define the names after some event,
like on the click event of a custom button, but I'd like to define these in
the OnStartupComplete method. When I try to do this though, my .Names throws
a InertopServices.COMException.
Any ideas on why I can't define names here?? Thanks
..Names.Add method. This works fine if I define the names after some event,
like on the click event of a custom button, but I'd like to define these in
the OnStartupComplete method. When I try to do this though, my .Names throws
a InertopServices.COMException.
Any ideas on why I can't define names here?? Thanks