Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming,comp.apps.spreadsheets
|
|||
|
|||
![]()
"Chip Pearson" wrote in message ...
Phil, Change ReColorDeps (C) to ReColorDeps C In general, you never want to use parentheses when passing arguments to Sub procedures. Sub ColorDeps2() Dim C As Range For Each C In Selection C.Interior.ColorIndex = 4 'green If HasDependents(C) Then ReColorDeps (C) End If Next C End Sub Of course. I knew that. But I've spent more time lately programming other languages than VBA, and I simply couldn't see that error no matter how long I looked at it. Thanks for the quick answer. Phil |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Runtime error '424': Object Required | Excel Discussion (Misc queries) | |||
"Microsoft Visual Basic runtime error '424' object required". | Excel Worksheet Functions | |||
Syntax Error Runtime Error '424' Object Required | Excel Programming | |||
Dget in VBA gets Object required run-time error? | Excel Programming | |||
error 424 - Object Required | Excel Programming |