Solved

Disable CTRL-F11

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

How can i disable the CTRL-F9?

tx
0
Comment
Question by:sonmic
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
  • 2
  • +1
10 Comments
 
LVL 77

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
Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

 
LVL 77

Expert Comment

by:slightwv (䄆 Netminder)
ID: 34874250
No problem.  The question Wizard can add zones that it might think you want.
0
 
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Workbook link problems after copying tabs to a new workbook? David Miller (dlmille) Intro Have you either copied sheets to a new workbook, and after having saved and opened that workbook, you find that there are links back to the original sou…
Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.

707 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