View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.programming
[email protected] rich5665@gmail.com is offline
external usenet poster
 
Posts: 2
Default run-time error '1004': Application-defined or object-deifined error

Jim,

The debugger indicates this line as the problem:

For Each MyObject In Worksheets("Sheet1").Range("A1*:A" & RangeDepth)
' Iterate through each element.

A co-worker was using this Macro without issue and it looks like
something changed.



Bob,

Happily I didn't create the Macro, I've been asked to fix it though.