Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
You could try something like this. But be aware that "C3:A2" is a perfectly
valid range string. Even thought Excel will turn it around for presentation/display purposes that doesn't mean it's invalid. Sub Test() MsgBox RgValid("ZC3:A2") End Sub Function RgValid(RgStr) As Boolean Dim Rg As Range On Error GoTo ExitThis Set Rg = Range(RgStr) RgValid = True Exit Function ExitThis: End Function -- Jim Rech Excel MVP |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
automated cut and paste using regex | Excel Worksheet Functions | |||
validate a date range | Excel Discussion (Misc queries) | |||
Validate date within range prior to calculation | Excel Discussion (Misc queries) | |||
Regex Question | Excel Programming | |||
regex string matching | Excel Programming |