Run-time error '1004': Macro error, only when shared

pergo

New Member
Joined
Apr 2, 2011
Messages
7
Hey all,

I'm having an issue with my workbook. I manage a shared database that my office uses in our everyday operations. I recently upgraded a macro that

-Deletes conditional formatting for a range.
-Formats the range with real formatting (based on cell values).
-Copies and Pastes range into an e-mail.

This macro runs fine, except for when the file is shared. Sharing is necessary for our daily operations so it's not something I can work around.

When I try to execute the macro, while shared i receive

Run-time error '1004': Application-defined or object-defined error.

It will not let me debug this error because you cannot open VBA while shared. If I unshare the file, I do not receive the error.

Does anyone know what could be causing this? I know this is a very vague question, but I'm stuck here and as far as I can see... everything should work fine.
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.

Forum statistics

Threads
1,224,600
Messages
6,179,836
Members
452,947
Latest member
Gerry_F

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