![]() |
[Interops] OutlineLevel and Hidden property
Dear NG,
I am programming against Excel using C# and the interops. I am trying to access the property OutlineLevel or the Hidden property of a range. It compiles fine but throws the exception: "Unable to get the OutlineLevel property of the Range class" "Unable to get the Hidden property of the Range class" How can I come around this? Regards, Patrick |
[Interops] OutlineLevel and Hidden property
An entirerow or entirecolumn is hidden, not a single cell.
? activecell.entirerow.Hidden True I don't believe a range will have an outlinelevel unless it is part of an outline. -- Regards, Tom Ogilvy "Patrick Kowalzick" wrote in message ... Dear NG, I am programming against Excel using C# and the interops. I am trying to access the property OutlineLevel or the Hidden property of a range. It compiles fine but throws the exception: "Unable to get the OutlineLevel property of the Range class" "Unable to get the Hidden property of the Range class" How can I come around this? Regards, Patrick |
[Interops] OutlineLevel and Hidden property
Dear Tom,
An entirerow or entirecolumn is hidden, not a single cell. Perfect. Thanks I don't believe a range will have an outlinelevel unless it is part of an outline. The outline level is 1 for the case mentioned. But, same as above, an entirerow or entirecolumn has an OutlineLevel, not a single cell (or Range). Thanks. Saved my mood for today :). Patrick |
All times are GMT +1. The time now is 07:06 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com