-
Jan 26th, 2012, 06:23 PM
#1
Thread Starter
New Member
VBA Excel Run-time error '1004': Application-defined or object-defined error
Hi guys,
I've tried a simple code like:
Worksheets("01").Cells(8, 56).Interior.ColorIndex = 3
but I got the following error message:
"Run-time error '1004': Application-defined or object-defined error"
I guess I need to set a specific library reference to get it working, but if it is the reason, I don't know which one. But maybe there is another reason, it is only a guess.
This code is in a worksheet module.
Does anyone have any idea about how to get it working?
Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|