You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 9, 2020. It is now read-only.
The static method ExcelCellBase.IsValidAddress(string address) accepts as a valid Range address the following strings:
$A12:XY1:3
$A12:X$Y$13
for the first string the problem is that there is no check if the chracter ':' that is found is the only one.
I would suggest the following solution:
near line 763 change the following code: else if (address[i] == ':') { isSecond=true; }
to else if (address[i] == ':') { if (isSecond) return false; isSecond=true; }
For the second string more checks must be added before deciding that it is safe to ignore the '$' character.
Best regards,
Ivan Temelkov
The text was updated successfully, but these errors were encountered:
The static method ExcelCellBase.IsValidAddress(string address) accepts as a valid Range address the following strings:
for the first string the problem is that there is no check if the chracter ':' that is found is the only one.
I would suggest the following solution:
near line 763 change the following code:
else if (address[i] == ':') { isSecond=true; }
to
else if (address[i] == ':') { if (isSecond) return false; isSecond=true; }
For the second string more checks must be added before deciding that it is safe to ignore the '$' character.
Best regards,
Ivan Temelkov
The text was updated successfully, but these errors were encountered: