I posted a thread here about a macro to print the first page of an email in Outlook 2010:

Sub PrintOnePage()
SendKeys "%FPR"
SendKeys "%S"
SendKeys "1"
SendKeys "{ENTER}"
End Sub

This works fine but there is a known issue with multiple SendKey commands turning off Num Lock (I am not allowed to post the Microsoft KB link here but it is Microsoft KB 179987)

I have tried the DoEvents solution but this just effectively makes the steps manual again.

I have seen suggested solutions using the toggle and GetKeyboardState but the code I have seen appears to involve other macros and I am unable to tie it into the above.)

Does anyone have any ideas about how to workaround the NumLock issue? Thanks for your help in advance!



64 bit Optiplex 3010 - Win 8.1 - Office 2013 (with Outlook 2010)