Runtime error 2004 for some users

dsaye

New Member
Joined
Oct 25, 2007
Messages
9
I created a macro with hidden sheets, etc. The basic premise is that there are nine people and each person can only see their worksheet based on their entered password. After creation and testing on my computer, I sent it out. For some people it works fine, for others, they receive the a runtime error code 2004, "this operation requires the merged cells to be identically sized".

Any reason for this? I created the macro in Excel 2007 but saved it as Excel 97-2003.

Thanks in advance. I apolgize if this information is out there somewhere, I did some searches but couldn't find anything.
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
Hi,

Is there any copying / pastespecial going on? Perhaps only some of the users get this error because only some of their sheets have mergearea size mismatches?
 
Upvote 0
There is some copying/paste special, you mention that only some users may have merge cell issues, what could cause that?

All the spreadsheets for each person are identical so I would think if one person had the error, all should.

I removed all merged cells from the file and a user is still getting the error.

Is there any code I could use to eliminate this error?

Thanks.
 
Upvote 0
Re: Runtime error 2004 for some users - Problem resolved

Getting rid of all merged cells solved my problems. Thanks.
 
Upvote 0

Forum statistics

Threads
1,214,615
Messages
6,120,538
Members
448,970
Latest member
kennimack

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top