When i get to work I need to login to about five different programs! sometimes taking an exorbitant amount of time, sometimes as much as ten minutes! I want to be able to click one shortcut on my desktop and open and login to most of my programs. I have done this with most of the programs I use with your typical code for finding a cell and entering the PW and UN:
My problem is that this code does not work on .jsp window for one of our main programs. There is a floating window that pops up and I can get to pop up with the cursor in the username field. However there is no right click ability to view source code?? Any way to just send text to this field as it is the field with my cursor flashing? How can I direct the macro to find this specific window if needed? Here is the URL that I need to enter text into UN and PW fields
"https://www.dmcseddebt.com/CRSServicesWeb/jsp/launch.jsp"
thanks!
Code:
Set UserN = appIE1.Document.GetElementsByName("txtTheAgent")
If Not UserN Is Nothing Then
UserN(0).Value = "7158"
End If
Set PW = appIE1.Document.GetElementsByName("txtTheInitials") ' password
If Not PW Is Nothing Then
PW(0).Value = "nb"
End If
"https://www.dmcseddebt.com/CRSServicesWeb/jsp/launch.jsp"
thanks!