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)


Thanks guys, works great.

Can I set a VBA macro to enable the F9 once that particular procedur
has finished ?

Thanks again.

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: 12
Default preventing use of F9 (recalculate)

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

should do it.

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

Thanks guys, works great.

Can I set a VBA macro to enable the F9 once that

particular procedure
has finished ?

Thanks again.

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
external usenet poster
 
Posts: 27,285
Default preventing use of F9 (recalculate)

Since that is the exact code that you provided to disabled it, I suspect you
meant

Sub RestoreF9()
Application.OnKey "{f9}"
End Sub

--
Regards,
Tom Ogilvy


"dude" wrote in message
...
Sub ResetF9()
Application.OnKey "{f9}", ""
End Sub

should do it.

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

Thanks guys, works great.

Can I set a VBA macro to enable the F9 once that

particular procedure
has finished ?

Thanks again.

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)

Quite right Tom, thanks for correction.
-----Original Message-----
Since that is the exact code that you provided to

disabled it, I suspect you
meant

Sub RestoreF9()
Application.OnKey "{f9}"
End Sub

--
Regards,
Tom Ogilvy


"dude" wrote in

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

should do it.

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

Thanks guys, works great.

Can I set a VBA macro to enable the F9 once that

particular procedure
has finished ?

Thanks again.

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

.



.

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
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
preventing use of F9 (recalculate) scottwilsonx[_35_] Excel Programming 5 September 24th 04 03:54 AM


All times are GMT +1. The time now is 09:30 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"