Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 05-04-2012, 05:20 AM
Peter Wienand Peter Wienand is offline Num Lock ERROR Windows 7 64bit Num Lock ERROR Office 2010 32bit
Novice
 
Join Date: May 2012
Posts: 15
Peter Wienand is on a distinguished road
Default

The SendKeys statement sends keystrokes to the application - basically it is simulating a user pressing keys on the keyboard. In this case the string "%^{F9}" simulates the user pressing ALT-CTRL-F9. If you are interested, you can find more information about the SendKeys syntax here...

http://msdn.microsoft.com/en-us/libr...ffice.10).aspx



The ALT-CTRL-F9 shortcut causes the recalculation of all cells on all worksheets in all open workbooks. The CalculateFull statement tells Excel to do the same thing, so we can use it instead of the SendKeys statement without changing the behaviour of the macro.
Reply With Quote
  #2  
Old 05-04-2012, 10:43 AM
judicial85 judicial85 is offline Num Lock ERROR Windows 7 Num Lock ERROR Office 2010 (Version 14.0)
Advanced Beginner
Num Lock ERROR
 
Join Date: Nov 2010
Posts: 64
judicial85 is on a distinguished road
Default

Thanks Peter! That saves me some research time. Who knows? Maybe I can use that in future Macro-building..

Best,
Reply With Quote
Reply

Tags
add-ins, error, num lock



Similar Threads
Thread Thread Starter Forum Replies Last Post
Num Lock ERROR How do I lock in a Date in a cell? GatorFan1 Excel 2 12-02-2011 09:33 PM
Need To Lock Colors In Graphics bcicio PowerPoint 3 11-24-2010 07:47 AM
Lock a Slide Pemberton PowerPoint 0 07-18-2010 04:43 AM
I want to lock a sentence in Word smorkette Word 1 02-06-2010 12:57 AM
How Ms Word Lock memo85 Word 0 08-16-2009 07:23 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 04:47 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2026 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft