Able to Click on button but web page not updating

ssingh75

Well-known Member
Joined
Jan 5, 2012
Messages
518
Here is the web page source code '''<button class="ms-Button ms-Button--primary root-471" type="button" data-automationid="ReactClientFormSaveButton" data-is-focusable="true"><span class="ms-Button-flexContainer flexContainer-153" data-automationid="splitbuttonprimary"><span class="ms-Button-textContainer textContainer-154"><span class="ms-Button-label label-472" id="id__1057">Save</span></span></span></button>''''

i'm able to click on the Save button using the below code

For Each objTag6 In .document.getElementsByTagName(strTagName)
If InStr(objTag6.outerHTML, "ms-Button ms-Button--primary root-") > 0 Then
If InStr(objTag6.outerHTML, "ReactClientFormSaveButton") > 0 Then
If InStr(objTag6.outerHTML, "Save") > 0 Then
objTag6.Click
Application.Wait (Now + TimeValue("0:00:04"))
GoTo MoveNextMsg:
End If
End If
End If
Next objTag6

but web page is not updating with the latest value I've entered...

Is there any way to use mouseclick on the button......

Thanks in advance
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)

Forum statistics

Threads
1,215,214
Messages
6,123,664
Members
449,114
Latest member
aides

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top