If you are REALLY concerned about the users of your workbook using
specific commands you could also turn them off by using the OnKey
method in the Workbook_Open event handler. Here's the code on how to
do that for "CTRL+X":

Private Sub Workbook_Open()
    Application.OnKey "^{x}", ""
End Sub

Check out http://msdn.microsoft.com/en-us/library/aa195807(office.11).aspx
to find out how to use the OnKey method for other keys.

Hope this helped,
Rolf

On Oct 8, 10:00 pm, Manish Pansari <pansari.man...@gmail.com> wrote:
> Hello Friends,
>
> I am very new in Excel Macros...
>
> I am triying to devlope a ms excel file with some useful macros..
>
> I want a pop-up window whenever I open the ms excel file. In tht pop-
> up window i want to highlight the instruction like dont use command
> like "Ctrl+X" or edit in "green field only".
>
> Any one can pls help me tht how can I devlope the same. If any one can
> attach a sample file, than it will be more easy for me to learn and
> understand.
>
> Thanks a ton...
>
> -
> Manish
> pansari.man...@gmail.com

--~--~---------~--~----~------------~-------~--~----~
----------------------------------------------------------------------------------
Some important links for excel users:
1. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at 
http://www.excelitems.com
2. Excel tutorials at http://www.excel-macros.blogspot.com
3. Learn VBA Macros at http://www.vbamacros.blogspot.com
4. Excel Tips and Tricks at http://exceldailytip.blogspot.com
 

To post to this group, send email to excel-macros@googlegroups.com
If you find any spam message in the group, please send an email to:
Ayush Jain  @ jainayus...@gmail.com or
Ashish Jain @ 26may.1...@gmail.com
<><><><><><><><><><><><><><><><><><><><><><>
HELP US GROW !!

We reach over 6,500 subscribers worldwide and receive many nice notes about the 
learning and support from the group. Our goal is to have 10,000 subscribers by 
the end of 2009. Let friends and co-workers know they can subscribe to group at 
http://groups.google.com/group/excel-macros/subscribe
-~----------~----~----~----~------~----~------~--~---

Reply via email to