Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Run Time Error 424
Hello,
I'm getting a run time error 424: object required in this part of my script: If cell.Text = "001" Or Trim(Left(cell, 4).Offset(, 2).Text) = "BLDG" How can it be modified so that it does not give the error. Thank yo for your help, jfcby |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Run Time Error 424
Maybe...
If cell.Text = "001" _ Or Trim(Left(cell.Offset(, 2).Text, 4)) = "BLDG" Then jfcby wrote: Hello, I'm getting a run time error 424: object required in this part of my script: If cell.Text = "001" Or Trim(Left(cell, 4).Offset(, 2).Text) = "BLDG" How can it be modified so that it does not give the error. Thank yo for your help, jfcby -- Dave Peterson |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Run Time Error 424
On Jul 28, 10:32*am, Dave Peterson wrote:
Maybe... If cell.Text = "001" _ *Or Trim(Left(cell.Offset(, 2).Text, 4)) = "BLDG" Then jfcby wrote: Hello, I'm getting a run time error 424: object required in this part of my script: If cell.Text = "001" Or Trim(Left(cell, 4).Offset(, 2).Text) = "BLDG" How can it be modified so that it does not give the error. Thank yo for your help, jfcby -- Dave Peterson Thanks Dave, works great jfcby |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
run time error 1004 general odbc error excel 2003 vba | Excel Programming | |||
Visual Basic Error Run Time Error, Type Mismatch | Excel Discussion (Misc queries) | |||
Error handling error # 1004 Run-time error | Excel Programming | |||
Run Time Error 1004: Application or Object Defined Error | Excel Programming | |||
run-time error '1004': Application-defined or object-deifined error | Excel Programming |