you are using the Cells without the parent worksheet name. Use it as
Worksheets("Sheet1").Cells
Mangesh
"lehainam" wrote in
message ...
Dear all,
I have a code in Excel and whenever I run the program there is an
error:
Method 'Cells' of object '_Worksheet' failed
and error number is -2147417848
Could any one can help me or if I have the error number how can I get
help on line (which website I can access)
Thanks a lot!
Nam
--
lehainam
------------------------------------------------------------------------
lehainam's Profile:
http://www.excelforum.com/member.php...o&userid=18615
View this thread: http://www.excelforum.com/showthread...hreadid=395524