In an effort to not be that guy on the internet who figured something out and then doesn't share.
Here is the additional code page that I added to the VBO Utility - Environment in addition to the wonderful suggestion by
Gopal Bhaire.
Press CapsLock Key
'Simulate Key Press
keybd_event(VK_CAPITAL, &H45, KEYEVENTF_EXTENDEDKEY Or 0, 0)
'Simulate Key Release
keybd_event(VK_CAPITAL, &H45, KEYEVENTF_EXTENDEDKEY Or KEYEVENTF_KEYUP, 0)
That also requires one to add this code to the Global Code in Utility - Environment:
Private Declare Sub keybd_event Lib "user32" ( ByVal bVk As Byte, ByVal bScan As Byte, ByVal dwFlags As Integer, ByVal dwExtraInfo As Integer )
Private Const VK_CAPITAL As Integer = &H14
Private Const KEYEVENTF_EXTENDEDKEY As Integer = &H1
Private Const KEYEVENTF_KEYUP As Integer = &H2
And to add these external references and namespaces:
System.Runtime.dll
System.Runtime.InteropServices
------------------------------
Aaron Lawrence
Finance Systems Analyst III
Ferguson Enterprises
America/New_York
------------------------------