Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Disable controls on spreadsheet


How to disable menu control and shortcut keys , I hv a requirement o
excel template which will allow user to edit in particular cells an
after entering data user can only take the printout of that page , h
cannot save,save as , copy ,cut ,paste the sheet .
Is it prossible through macro

-----------------------------------------------
~~ Message posted from http://www.ExcelTip.com
~~View and post usenet messages directly from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Disable controls on spreadsheet

Here is a code example that disables the Paste control on the Cell
(worksheet right-click) menu

commandbars("Cell").FindControl(id:=22).Enabled=Fa lse


This page gives you a list of all of the control IDs

http://support.microsoft.com/default...b;en-us;159466
XL97: List of ID Numbers for Built-In Command Bar Controls

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"manishc" wrote in message
...

How to disable menu control and shortcut keys , I hv a requirement of
excel template which will allow user to edit in particular cells and
after entering data user can only take the printout of that page , he
cannot save,save as , copy ,cut ,paste the sheet .
Is it prossible through macros


------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~View and post usenet messages directly from http://www.ExcelForum.com/



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
saving a spreadsheet with form controls ld Excel Worksheet Functions 0 February 24th 10 03:42 PM
How to erase pasted controls from an Excel spreadsheet capnmike Excel Discussion (Misc queries) 2 July 19th 08 12:20 AM
Controls on Spreadsheet Denise Excel Worksheet Functions 0 June 12th 08 08:25 PM
HTML controls in spreadsheet michael sharpe New Users to Excel 0 September 6th 06 08:15 PM
using visual basic controls in a excel web page saved spreadsheet Mike Murschel Excel Programming 0 October 14th 03 03:17 PM


All times are GMT +1. The time now is 11:00 PM.

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

About Us

"It's about Microsoft Excel"