You could try adding the following code to a module in VBA for excel. (Shift + F11 from excel)
'-------------------------------------------
Sub Test()
Dim Field1 As OmniFieldRecord
Dim Field2 As OmniFieldRecord
Dim Sheet1 As Worksheet
Dim MyScreen As Object
Set MyScreen = GrabExtra...
I need something very similar. I need to hit Shift+F11. I have not yet found the answer. However, as far as getting sendkeys to work with .net try the following function called VBSendKeys. I've tested it in VBA and it works great.
http://www.vb2themax.com/Item.asp?PageID=CodeBank&ID=198
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.