Hi there,
I need help to redirect to subsite of a url via macro..
eq. lets suppose https://www.flipkart.com is main site to which macro should login first and then after successful login it shoul direct to https://www.flipkart.com/mobiles-big-shopping-days-2k19-5s29-store
I tried providing subsite url in vba but after login it get refreshes and returns to main page itself...
I need help to redirect to subsite of a url via macro..
eq. lets suppose https://www.flipkart.com is main site to which macro should login first and then after successful login it shoul direct to https://www.flipkart.com/mobiles-big-shopping-days-2k19-5s29-store
I tried providing subsite url in vba but after login it get refreshes and returns to main page itself...
Code:
Private Sub CommandButton1_Click()
Dim IE As String
'Dim IE2 As String
IE = """C:\Program Files (x86)\Google\Chrome\Application\chrome.exe"""
Shell (IE & " -url https://www.flipkart.com")
Shell (IE & " -url https://www.flipkart.com/mobiles-big-shopping-days-2k19-5s29-store")
End Sub
Last edited by a moderator: