![]() |
|
|
|
#1
|
|||
|
|||
|
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. |
|
#2
|
|||
|
|||
|
Thanks Peter! That saves me some research time. Who knows? Maybe I can use that in future Macro-building..
Best, |
|
| Tags |
| add-ins, error, num lock |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
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 |