Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default Prevent / Disable Worksheet Copy or Move

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

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Prevent / Disable Worksheet Copy or Move

Tools, Protection, Protect Workbook, select at least structure.

--
Regards,
Tom Ogilvy


"Peter Noneley" wrote in message
oups.com...
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



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default Prevent / Disable Worksheet Copy or Move

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 Ogilvy wrote:
Tools, Protection, Protect Workbook, select at least structure.

--
Regards,
Tom Ogilvy


"Peter Noneley" wrote in message
oups.com...
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


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Prevent / Disable Worksheet Copy or Move

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

--
Regards,
Tom Ogilvy

"Peter Noneley" wrote in message
oups.com...
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 Ogilvy wrote:
Tools, Protection, Protect Workbook, select at least structure.

--
Regards,
Tom Ogilvy


"Peter Noneley" wrote in message
oups.com...
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




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do i disable/enable "Worksheet Move or copy" option? Saon Excel Worksheet Functions 1 May 15th 08 06:30 PM
Prevent copy of formulas on a worksheet KAG Excel Discussion (Misc queries) 2 March 30th 07 03:46 AM
How to disable copy of protected excel worksheet? FinishMan Excel Discussion (Misc queries) 3 September 14th 06 02:27 PM
Unable to Insert Worksheet/Move and copy worksheet Excel 2003 lukerush Excel Worksheet Functions 2 September 7th 06 05:05 PM
Prevent changing size when copy&paste into another Excel Worksheet Michelle Excel Worksheet Functions 0 June 26th 06 04:30 PM


All times are GMT +1. The time now is 03:44 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"