I am attempting to send VK_RETURN to a background window without the window being activated/in focus.
I have seen people describe the process for C# with the windows API functions such as SendMessage and PostMessage. Please see link: Stack Overflow Post
I am hoping to adapt the usage for VBA. So far, the PostMessage function works to send the return key to the appropriate window but only when it is active. I believe I am misunderstanding the final "lParam" parameter described in the C# solution and how to properly implement that in VBA.
How can I achieve this?