Just spotted this thread and I've read your solution but like Minty, I'm baffled
Maybe I'm missing the point but if all you wanted to do was run a button click from outside the form then:
Code:
Forms!frmViewCase.btnViewCaseClose_Click
However you need to make the click event a Public Sub
From inside the form
Code:
Me.btnViewCaseClose_Click
If not that, then being as you've asked the question, it might help others if you could explain the point of this thread
BTW using SendKeys is best avoided as code isn't guaranteed to work in different versions