Solved

Get IP address and host name from excal file

Posted on 2011-09-13
7
283 Views
Last Modified: 2012-06-27
I had a list of urls in excel file. how can I get IP addresses and host name from this urls ?
0
Comment
Question by:HLUSUNSEN
7 Comments
 
LVL 93

Expert Comment

by:John Hurst
ID: 36532763
Taken at face value, they are just URL's so will not have IP addresses in them. IP addresses are resolved after the URL is activated.

You need to activate the URL in a browser window, and from there, you could do a lookup on the name to get an IP address.  ... Thinkpads_User
0
 
LVL 2

Expert Comment

by:AntonInf
ID: 36532777
i guess one manuall way is to just ping the url and get the ip address for each one..

but that might take a while...
0
 

Author Comment

by:HLUSUNSEN
ID: 36533020
Instead of manually sort them out, is that possible to run a VB script in excel file and get answer? Can anyone supply me a VB script for this ?
0
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
LVL 93

Expert Comment

by:John Hurst
ID: 36533081
A URL is a locator to *find* the IP address. So it would have to a fairly complete "whois" lookup VB script to do such a thing. ... Thinkpads_User
0
 
LVL 7

Accepted Solution

by:
m4trix earned 500 total points
ID: 36533191
I adapted the code from here:
http://www.breakingpar.com/bkp/home.nsf/0/87256B280015193F87256CA300788B6E
and it works perfectly.  I have to give full credit to the author from that site.

iplookup.xlsm
0
 
LVL 50

Expert Comment

by:Ingeborg Hawighorst
ID: 37087217
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

ScreenConnect 6.0 Free Trial

Check out the updates in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI that improves session organization and overall user experience. See the enhancements for yourself!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
Recently Microsoft released a brand new function called CONCAT. It's supposed to replace its predecessor CONCATENATE. But how does it work? And what's new? In this article, we take a closer look at all of this - we even included an exercise file for…
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question