-
Outlook 2010 - macro "Print 1st page" - Problem with Num Lock turning off
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)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules