Home>

Using WebBrower control in PowerPoint VBA
I want to start a web page and automatically enter a password in the password tag.
If it is a tag of user ID, the value can be set without any problem, but the value is not set in the password field.

Slide4.WebBrowser1.Document.getElementById ("username"). innerText = "userid"
↑ This is no problem

Are there any special methods for passwords?

<input name = "password" type = "password" value = "" placeholder = "Password" autocomplete = "off">
If (Slide4.WebBrowser1.Document.getElementById ("password") Is Nothing) Then
Else
  Slide4.WebBrowser1.Document.getElementById ("password"). InnerText = "password"
End If
vba