Solved

Disable CTRL-F11

Posted on 2011-02-11
10
311 Views
Last Modified: 2012-05-11
Hallo,

How can i disable the CTRL-F9?

tx
0
Comment
Question by:sonmic
  • 3
  • 3
  • 2
  • +1
10 Comments
 
LVL 76

Expert Comment

by:slightwv (䄆 Netminder)
ID: 34874172
This was cross posted in Oracle.  If this is not Oracle related I would like to remove that Zone.

Disable it from what app or in what way?
0
 

Author Comment

by:sonmic
ID: 34874216
I selected only Excel. Probably i did something wrong!
0
 
LVL 30

Expert Comment

by:SiddharthRout
ID: 34874228
Paste this in the  Workbook WindowResize event.

Private Sub Workbook_WindowResize(ByVal Wn As Window)
    If ActiveWindow.WindowState = -4140 Then ActiveWindow.WindowState = -4137
    If ActiveWindow.WindowState = -4143 Then ActiveWindow.WindowState = -4137
End Sub

Open in new window


Sid
0
 
LVL 76

Expert Comment

by:slightwv (䄆 Netminder)
ID: 34874250
No problem.  The question Wizard can add zones that it might think you want.
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 30

Expert Comment

by:SiddharthRout
ID: 34874251
Or better still try this

Private Sub Workbook_WindowResize(ByVal Wn As Window)
    If ActiveWindow.WindowState <> -4137 Then _
    ActiveWindow.WindowState = -4137
End Sub

Open in new window


Sid
0
 
LVL 85

Expert Comment

by:Rory Archibald
ID: 34874412
What are you actually trying to disable? The title says Ctrl+f11 but the question Ctrl+f9?
0
 

Accepted Solution

by:
sonmic earned 0 total points
ID: 34877915
Tx for your answers but it didn't fit.
Here i was looking for:

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

Private Sub Workbook_BeforeClose(Cancel As Boolean)
    Application.OnKey "^{F11}"
0
 
LVL 30

Expert Comment

by:SiddharthRout
ID: 34906585
sonmic: I was waiting for you to clarify what Rorya asked in ID: 34874412????

Sid
0
 

Author Closing Comment

by:sonmic
ID: 34941294
Found it myself
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now