Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 97
Default Disabling Paste Options

Hi All,

Is there a a way to disable the usage of, or change the function of,
right-click Paste, Edit=Paste and the Menu Bar Paste button to restrict
users to only be able to enter values and/or paste values into a sheet to
avoid changing existing formatting?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,501
Default Disabling Paste Options

This code may help:-


http://www.vbaexpress.com/kb/getarticle.php?kb_id=373

Mike


"ewan7279" wrote:

Hi All,

Is there a a way to disable the usage of, or change the function of,
right-click Paste, Edit=Paste and the Menu Bar Paste button to restrict
users to only be able to enter values and/or paste values into a sheet to
avoid changing existing formatting?

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 97
Default Disabling Paste Options

Thanks Mike, that's great!!

"Mike H" wrote:

This code may help:-


http://www.vbaexpress.com/kb/getarticle.php?kb_id=373

Mike


"ewan7279" wrote:

Hi All,

Is there a a way to disable the usage of, or change the function of,
right-click Paste, Edit=Paste and the Menu Bar Paste button to restrict
users to only be able to enter values and/or paste values into a sheet to
avoid changing existing formatting?

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 97
Default Disabling Paste Options

Hi Mike,

I am now getting a strange error message when I try and right click paste in
any other workbook. I've no idea how or why this is happening, but the
message says:

"'somefile.xls' could not be found. Check the spelling of the file name,
and verify that the location is correct. If you are trying to open the file
from your list of most recently used files on the file menu, make sure that
the file has not been renamed, moved or deleted."

The file it mentions does not exist. Could the code included in your post
have anything to do with this? I don't see how but there's no other logical
explanation...

Thanks,
Ewan.

"ewan7279" wrote:

Thanks Mike, that's great!!

"Mike H" wrote:

This code may help:-


http://www.vbaexpress.com/kb/getarticle.php?kb_id=373

Mike


"ewan7279" wrote:

Hi All,

Is there a a way to disable the usage of, or change the function of,
right-click Paste, Edit=Paste and the Menu Bar Paste button to restrict
users to only be able to enter values and/or paste values into a sheet to
avoid changing existing formatting?

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 97
Default Disabling Paste Options

For info:

I found the below website and used 'Application.CommandBars("Cell").Reset'
in the immediate window to restore my right - click menu. The problem with
right-click paste has now gone (paste special option has also been restored
on my right click menu - didn't realise it had disappeared!!)

http://www.mvps.org/dmcritchie/excel/rightclick.htm


"ewan7279" wrote:

Hi Mike,

I am now getting a strange error message when I try and right click paste in
any other workbook. I've no idea how or why this is happening, but the
message says:

"'somefile.xls' could not be found. Check the spelling of the file name,
and verify that the location is correct. If you are trying to open the file
from your list of most recently used files on the file menu, make sure that
the file has not been renamed, moved or deleted."

The file it mentions does not exist. Could the code included in your post
have anything to do with this? I don't see how but there's no other logical
explanation...

Thanks,
Ewan.

"ewan7279" wrote:

Thanks Mike, that's great!!

"Mike H" wrote:

This code may help:-


http://www.vbaexpress.com/kb/getarticle.php?kb_id=373

Mike


"ewan7279" wrote:

Hi All,

Is there a a way to disable the usage of, or change the function of,
right-click Paste, Edit=Paste and the Menu Bar Paste button to restrict
users to only be able to enter values and/or paste values into a sheet to
avoid changing existing formatting?



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
Disabling Tools/Options setting Jeronimo Excel Discussion (Misc queries) 3 March 22nd 10 05:10 AM
VBE Options: Disabling Debug Option on All Errors JGS Excel Programming 1 December 4th 05 10:05 PM
Help on Disabling Save & Print Options Devesh Aggarwal Excel Programming 0 July 22nd 04 09:16 AM
Disabling Menu Options Neil Warwick Excel Programming 1 January 18th 04 10:02 PM
Disabling standart menu options Dusan Excel Programming 3 November 24th 03 11:30 AM


All times are GMT +1. The time now is 07:33 PM.

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"