I’m currently trying to write a macro to pull information from a website and then display it in a worksheet. So far, I have code that will open Edge and navigate to the required URL. The user has to login using their CAC certificate, and then it goes to the correct page.
Dim browser
browser = Shell(EDGE_PATH & URL, 1)
Once the page is loaded, it submits the form which creates a new window with a text file that has the needed information. I need to get the information from that text file, but I’m not sure how to do it with VBA or shell. If it’s even possible. I know of Selenium, but I can’t use that in this environment.
Does anyone know of a way to do this? Any information would be appreciated.