Run-time 1004 error

K

Kent McPherson

I have the following code snipet in module1 in Excel 2003:

temp = "C" & LTrim(Str(i))
labor_detail = Worksheets("Labor $").Range("temp").Value

When the code runs, temp is correctly set. e.g C2. But when the 2nd line
runs, I get the Run-Time error 1004, Application-defined or object-defined
error message.

What am I missing?
 
Top