NonStopLeo
New Member
- Joined
- Mar 25, 2010
- Messages
- 38
Hi Friends
I have created a macro. If I run this macro I visit a URL which is mentioned in my vba code.
I want to change this url every time. so is there a way that I enter the URL in excel cell A2 (Sheet1) and vba pick the url from this cell instead of mentioning the url in vba.
Please help me change the code, currently I have below code.
<code><code>
Source = Web.Page(Web.Contents(""https://www.google.com""))
</code></code>
Thanks a lot for your usual help.
I have created a macro. If I run this macro I visit a URL which is mentioned in my vba code.
I want to change this url every time. so is there a way that I enter the URL in excel cell A2 (Sheet1) and vba pick the url from this cell instead of mentioning the url in vba.
Please help me change the code, currently I have below code.
<code><code>
Source = Web.Page(Web.Contents(""https://www.google.com""))
</code></code>
Thanks a lot for your usual help.
Last edited: