Prevent / Disable Worksheet Copy or Move

P

Peter Noneley

Hi all,

Even after (or because of) a few glasses of red wine, I cannot figure
out how to do this...

I want to prevent the user from using [Worksheet,Copy] or
[Worksheet,Move]

I don't want to remove the commands from the menu, in fact I don't want
to fiddle with the menus at all.

I just want to catch the commands and make them null.

If there was an event such as [BeforeWorksheetCopy] life would be easy,
but I dont know of such a command, so I am relying on the group!

A bottle of red to whoever provides the answer that works...

Thanks

Peter Noneley
cardiff
Wales
UK
 
P

Peter Noneley

Tom,

Thanks for the suggestion, but I don't want to restrict the worksheet
in any way, so I would prefer to avoid protecting the workbook.

Peter


Tom said:
Tools, Protection, Protect Workbook, select at least structure.

--
Regards,
Tom Ogilvy


Peter Noneley said:
Hi all,

Even after (or because of) a few glasses of red wine, I cannot figure
out how to do this...

I want to prevent the user from using [Worksheet,Copy] or
[Worksheet,Move]

I don't want to remove the commands from the menu, in fact I don't want
to fiddle with the menus at all.

I just want to catch the commands and make them null.

If there was an event such as [BeforeWorksheetCopy] life would be easy,
but I dont know of such a command, so I am relying on the group!

A bottle of red to whoever provides the answer that works...

Thanks

Peter Noneley
cardiff
Wales
UK
 
T

Tom Ogilvy

How does that restrict the worksheet beyond the stated move or copy.

--
Regards,
Tom Ogilvy

Peter Noneley said:
Tom,

Thanks for the suggestion, but I don't want to restrict the worksheet
in any way, so I would prefer to avoid protecting the workbook.

Peter


Tom said:
Tools, Protection, Protect Workbook, select at least structure.

--
Regards,
Tom Ogilvy


Peter Noneley said:
Hi all,

Even after (or because of) a few glasses of red wine, I cannot figure
out how to do this...

I want to prevent the user from using [Worksheet,Copy] or
[Worksheet,Move]

I don't want to remove the commands from the menu, in fact I don't want
to fiddle with the menus at all.

I just want to catch the commands and make them null.

If there was an event such as [BeforeWorksheetCopy] life would be easy,
but I dont know of such a command, so I am relying on the group!

A bottle of red to whoever provides the answer that works...

Thanks

Peter Noneley
cardiff
Wales
UK
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top