I am using Application.run
to call a macro in another workbook written by my colleague that has something like this in the middle,
resp = MsgBox("Message goes here...", vbOKCancel)
How do I press OK automatically, basically suppressing the message box? I used Application.DisplayAlerts = False
at the top of my sub and also put Application.SendKeys ("~")
right below Application.run
, neither works.