Can we load current url from the Chrome which started from VBA shell

svv 26 Reputation points
2022-02-10T04:50:10.597+00:00

I need to load the URL from the chrome which just opened from the VBA script

EX:

chrome = """C:\Program Files\Google\Chrome\Application\chrome.exe"""
Shell(chrome & " -url " & url)

so basically after i do the above call chrome is invoking and opening the window what evere required. but after it shows-up some URL in the URL bar. i jut need to have in my code. how can i get it. Please help me on this. and also basically chrome path wont be same in all systems right. can we load in different way using VBA its possible with internetexplorer brow.IE.locationURL but i want to know with chrome

0 comments No comments
{count} vote