Prevent turning on workbook Sharing

TheAntisocial

New Member
Joined
Sep 7, 2009
Messages
33
Office Version
  1. 2013
Platform
  1. Windows
Hi there.

I am running into problems with users Sharing workbooks that rely on a lot of VBA.
It doesn't matter how many times I tell them not to they still keep doing it and then complaining when the buttons don't work.

Does anyone know if there any way to either:

1) When they click the share button they get a message instead of the shared workbook UI

or

2) Grey out the share button when the workbook opens so they can't even press it.

Any help is very much appreciated.

Thanks
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
What format is the workbook? A 2007+ XML format, or an .xls file?
 
Upvote 0
Are you familiar with modifying the Ribbon using the CustomUI editor?
 
Upvote 0
Cool - you basically need this:

HTML:
<customUI xmlns="http://schemas.microsoft.com/office/2009/07/customui">
	<commands>
		<command idMso="ReviewShareWorkbook" enabled="false"/>
		<command idMso="ReviewProtectAndShareWorkbook" enabled="false"/>
		<command idMso="ReviewTrackChangesMenu" enabled="false"/>
	</commands>
</customUI>

in the CustomUI14 part.
 
Upvote 0
Hi Rory, thanks for the help, that would work a treat if I was still at my last employer, this one however will not let me install Custom UI Editor, how rude!
Is there any way to do this without the Editor?
 
Upvote 0
Can you download Excel add-ins? If so, try Andy's editor here: Ribbon Editor 2010
If not, you're stuck with renaming the file as .zip and then manually adding the relevant bits which is not as straightforward!
 
Upvote 0

Forum statistics

Threads
1,216,727
Messages
6,132,353
Members
449,720
Latest member
NJOO7

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