Determines whether the RangeAddress specified in constructor is valid.
Namespace: Aceoffix.UtilitiesAssembly: Aceoffix (in Aceoffix.dll) Version: 5.0.0.1
SyntaxPublic Function IsValid As Boolean
Return Value
Type:
Booleantrue if the specified
RangeAddress is valid; otherwise, false.
RemarksDetermines whether the RangeAddress specified in constructor is valid.
ExamplesAceoffix.Utilities.ExcelRect eRect = new Aceoffix.Utilities.ExcelRect("A1:F8");
if(eRect.IsValid())
{
int iStartCol = eRect.left;
int iStartRow = eRect.top;
int iEndCol = eRect.right;
int iEndRow = eRect.bottom;
}
See Also