79363155

Date: 2025-01-16 22:01:45
Score: 2
Natty:
Report link

Use: Set SheetShell = CreateObject("WScript.Shell") SheetShell.SendKeys "~", True

'for sending the "Enter" key for example.

This approach works consistently.

Using the Application.SendKeys "~", True approach will toggle the the Numlock On and Off if you run the the script multiple times (for example)

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: WilnexP