Thread: defined error
View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.programming
Bob Flanagan[_2_] Bob Flanagan[_2_] is offline
external usenet poster
 
Posts: 81
Default defined error

In the VBA editor, select Tools, References. If you have a reference to the
Microsoft Office Object Library, uncheck it if you can. Then see if the
module will compile. If you get undefined variables for vb constants,
replace them with their numeric values.

Robert Flanagan
Macro Systems
http://www.add-ins.com
Productivity add-ins and downloadable books on VB macros for Excel

wrote in message
...
Of a virus problem I had to reinstall my windows xp and office xp.
And I faced this highlighted error
" Application defined or object defined error "
No need to add this was a smoothly working vba code before.

Worksheets("compare1").Range("a2:iv10000").ClearCo ntents

Any idea ? Thank you.