Quantcast
Channel: Internet Explorer Web Development forum
Viewing all articles
Browse latest Browse all 3527

[IE Automation] Why With …End With in VBA IE automation giving unexpected results?

$
0
0

Developers may notice an unexpected behavior of IE automation code while usingWith…End With.

Developers may notice that sometime code can give error or it open a blank IE tab.

If developers are trying toassign any values in with…End With than it can cause this issue.

The reason is that,

When using a With…End With structure, we can only read the values of members or invoke methods.

 

Reference:

https://docs.microsoft.com/en-us/dotnet/visual-basic/language-reference/statements/with-end-with-statement



Viewing all articles
Browse latest Browse all 3527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>