Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi All
This has to be easy for all you experts out there -- a userform with 2 text boxes entering a number or a zero in Tb2 the following code runs OK on running the macro. leave it blank and the debugger kicks in is there a way round this problem. probably a msg telling them to enter a zero?? ws.Cells(iRow, 10).Value = Val(Trim(Me.Tb1.Value * 0.5)) + Val(Trim(Me.Tb2.Value * 0.05)) -- Many thanks hazel |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Error: "Excel encountered an error and had to remove some formatti | Excel Discussion (Misc queries) | |||
Counting instances of found text (Excel error? Or user error?) | Excel Worksheet Functions | |||
I have Error 1919 Error Configuring ODBC dataSource Database | Excel Discussion (Misc queries) | |||
Excel 2003 Macro Error - Runtime error 1004 | Excel Discussion (Misc queries) |