Need a macro to run a WHOIS on data (IP or URL) in a column and get name and contact information.

Joined
Mar 23, 2018
Messages
2
cELRFS
I would like to accomplish something similar to https://www.datanumen.com/blogs/create-whois-lookup-tool-via-excel-vba/ or https://www.mrexcel.com/forum/excel-questions/780655-doing-whois-excel.html

I have a column that may contain either a URL or an IP address. I would like the macro to search that column and perform a WHOIS on the data and get information such as the registrant name, registrant organization, registrant email, and abuse email if present. Sometimes data is missing like abuse email or organization, as shown in my example. So I want it to continue and not error out. In my example the first 3 rows are how I would enter data, the next 3 are how similar, real world example, rows would look after the macro is run.

Why not use one of the examples above? Well the first cannot get the email because it's an image and not text. If I use another WHOIS URL, it breaks. It also breaks with a IP. The second example is a little confusing and I'm not sure how to alter it to make it work for me.

Capture.png
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.

Forum statistics

Threads
1,224,828
Messages
6,181,213
Members
453,024
Latest member
Wingit77

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top