How to click ok, on vba msg box, using macro, like when excuting a macro function, it shows a msg box, is there a way to click ok on that msg box, using macro, so that the robot has no need to click on it, since it breaks down each time…
Yes, the macro generate it, after excuting a funtion, saying that the work has been done correctly.
So i get a msg box with an ok button, that i have to click on, the thing is that i did excute first fuction excute, with macro on UiPath, but it won’t move on, it gets stuck there, it doesn’t click on the button or do anything else, like it’s stuck. So i tough about using same thing for the click button and see if it works that way and also, i want have to change the selector each time i change the computer.
Sub Click_ExecuteAll()
Dim start As Long, bErr As Boolean
start = GetTickCount
Click_Clear
ActiveWorkbook.RefreshAll
bErr = testRefresh()
If bErr Then
'pass
Else
Call ExportTableToCSV(“TEST”)
Call ExcelReport_Arr(“TEST”)
MsgBox "Execution time : " & Time2String(GetTickCount - start), vbInformation, “Execute all process”
End If
End Sub
PS : i don’t know how to code on vba or powerquery, somebody else did this…
Still the same issue, the thing the selector sometimes changes, just on the excute function i have like 4 deffrents msg box, do you have any idea? that’s why i was looking for something lik macro to click on the button.
Doesn’t work correctly, now i get error that the message box ain’t here, can’t click ok, because the excel file hasn’t finish with the excute function… you sure there’s no other way than this?