Hi,

I am in the process of automating a process to fill up a website. With an Excel Macro, once I log into the website, insert a value in the required textbox and click the button, a website Message Box comes up with an alert asking me to confirm - Are you sure to update the value?

The execution of the macro stops at that level, resulting in no further execution of the macro.

On searching for the solution, I found out that a JavaScript function, the function which is executed on confirmation of the message box, should be called from macro instead of clicking the original button on the webpage.

I would like to have help in writing the code to call JavaScript function in Excel Macro.

Following is the HTML code from the view source page of the webpage.

HTML Code: