Article ID: 164810 - Last Review: October 11, 2006 - Revision: 1.3 XL97: Run-Time Error Using ShowDependents MethodThis article was previously published under Q164810 On This PageSYMPTOMS
When you run a Visual Basic for Applications macro that uses the
ShowDependents method, you may receive the following error message:
Run-time error '1004': ShowDependents method of Range class failed WORKAROUND
To work around this problem, use the ExecuteExcel4Macro method in your macro.
ExamplesIf your macro contains the following line of code to trace formula dependentsSTATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was corrected in Microsoft Office 2000.
REFERENCES
For more information about auditing, click Contents and Index
on the Help menu, click the Index tab in Excel Help, type the
following text
auditing formulas, tracing dependents and precedents
and then double-click the selected text to go to the "About examining the structure of formulas" topic. If
you are unable to find the information you need, ask the Office
Assistant. | Article Translations
|

Back to the top
