Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
First post not showing up on board, will try posting again.
Error handling will not work if input box "Cancel" button is selected. I will get an error message, error #13, < Type Mismatch . What's going on here? dim dteDate as Date On Error Resume Next 'turn on error handling dteDate = CDate(InputBox("Enter ending date for projection", Default:=Date)) If Err.Number 0 Then 'trap error if user clicks the cancel button Exit Sub End If On Error GoTo 0 'reinstate normal error procedures D.S. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Autofill & On Error Resume Next | Excel Discussion (Misc queries) | |||
On Error Resume Next problem | Excel Discussion (Misc queries) | |||
On error resume next problem | Excel Discussion (Misc queries) | |||
On Error Resume Next | Excel Programming | |||
On Error Resume Next | Excel Programming |