Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default preventing use of F9 (recalculate)


Hello. Is there a way to automatically stop someone from being able t
press F9 to recalculate the formulae in a spreadsheet ?

The reason I need to prevent this keystroke is that I am running
separate sort macro and when the F9 is pressed after the sort i
automatically reorders the number based on a number of INDEX formulas.

Many thanks for your help with this one.

Scott

--
scottwilson
-----------------------------------------------------------------------
scottwilsonx's Profile: http://www.excelforum.com/member.php...fo&userid=1112
View this thread: http://www.excelforum.com/showthread.php?threadid=26273

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default preventing use of F9 (recalculate)

Hi
AFAIK this is not possible

-----Original Message-----

Hello. Is there a way to automatically stop someone from

being able to
press F9 to recalculate the formulae in a spreadsheet ?

The reason I need to prevent this keystroke is that I am

running a
separate sort macro and when the F9 is pressed after the

sort it
automatically reorders the number based on a number of

INDEX formulas.

Many thanks for your help with this one.

Scott.


--
scottwilsonx
----------------------------------------------------------

--------------
scottwilsonx's Profile:

http://www.excelforum.com/member.php?
action=getinfo&userid=11128
View this thread:

http://www.excelforum.com/showthread...hreadid=262735

.

  #3   Report Post  
Posted to microsoft.public.excel.programming
No Name
 
Posts: n/a
Default preventing use of F9 (recalculate)

You could try:

Sub CancelF9()
Application.OnKey "{f9}", ""
End Sub
you will have to run the procedure for it to work - when
F9 pressed it should do nothing - but not tested.

Hope helpful.

-----Original Message-----

Hello. Is there a way to automatically stop someone from

being able to
press F9 to recalculate the formulae in a spreadsheet ?

The reason I need to prevent this keystroke is that I am

running a
separate sort macro and when the F9 is pressed after the

sort it
automatically reorders the number based on a number of

INDEX formulas.

Many thanks for your help with this one.

Scott.


--
scottwilsonx
----------------------------------------------------------

--------------
scottwilsonx's Profile:

http://www.excelforum.com/member.php?
action=getinfo&userid=11128
View this thread:

http://www.excelforum.com/showthread...hreadid=262735

.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default preventing use of F9 (recalculate)

whoops:
forgot to add empty proceedure call - otherwise key
reverts to normal use.

Sub CancelF9()
Application.OnKey "{f9}", "donothing"
End Sub

Sub donothing()
End Sub

hope helps

-----Original Message-----

Hello. Is there a way to automatically stop someone from

being able to
press F9 to recalculate the formulae in a spreadsheet ?

The reason I need to prevent this keystroke is that I am

running a
separate sort macro and when the F9 is pressed after the

sort it
automatically reorders the number based on a number of

INDEX formulas.

Many thanks for your help with this one.

Scott.


--
scottwilsonx
----------------------------------------------------------

--------------
scottwilsonx's Profile:

http://www.excelforum.com/member.php?
action=getinfo&userid=11128
View this thread:

http://www.excelforum.com/showthread...hreadid=262735

.

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default preventing use of F9 (recalculate)

Sub ResetF9()
Application.OnKey "{f9}", ""
End Sub

should do it.

-----Original Message-----
You could try:

Sub CancelF9()
Application.OnKey "{f9}", ""
End Sub
you will have to run the procedure for it to work - when
F9 pressed it should do nothing - but not tested.

Hope helpful.

-----Original Message-----

Hello. Is there a way to automatically stop someone

from
being able to
press F9 to recalculate the formulae in a spreadsheet ?

The reason I need to prevent this keystroke is that I am

running a
separate sort macro and when the F9 is pressed after the

sort it
automatically reorders the number based on a number of

INDEX formulas.

Many thanks for your help with this one.

Scott.


--
scottwilsonx
---------------------------------------------------------

-
--------------
scottwilsonx's Profile:

http://www.excelforum.com/member.php?
action=getinfo&userid=11128
View this thread:

http://www.excelforum.com/showthread...hreadid=262735

.

.



  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,824
Default preventing use of F9 (recalculate)

Don't forget to stop me from using:
Tools|options|calculation tab|and clicking that button.

And shift-F9, Ctrl-Alt-F9, and ctrl-shift-alt-f9, too.

And even just selecting a cell, hitting F2 and then enter to calculate that one
cell.

scottwilsonx wrote:

Hello. Is there a way to automatically stop someone from being able to
press F9 to recalculate the formulae in a spreadsheet ?

The reason I need to prevent this keystroke is that I am running a
separate sort macro and when the F9 is pressed after the sort it
automatically reorders the number based on a number of INDEX formulas.

Many thanks for your help with this one.

Scott.

--
scottwilsonx
------------------------------------------------------------------------
scottwilsonx's Profile: http://www.excelforum.com/member.php...o&userid=11128
View this thread: http://www.excelforum.com/showthread...hreadid=262735


--

Dave Peterson

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
Recalculate in VBA dhstein Excel Discussion (Misc queries) 3 May 24th 09 08:21 PM
formulas won't recalculate walark Excel Worksheet Functions 2 May 14th 07 07:24 PM
Recalculate changes only hmm Excel Discussion (Misc queries) 3 December 18th 06 01:06 PM
Won't recalculate Erin Excel Discussion (Misc queries) 2 January 8th 05 03:56 AM
will not recalculate Ray S Excel Worksheet Functions 7 December 30th 04 07:42 AM


All times are GMT +1. The time now is 05:05 AM.

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"