How to perform whois in excel

Hi Experts,
I am trying to finding available domain names using excel. Please suggest me how to use whois. In my seo tools I am trying to use whois to targeting the domain names. Please send me the complete information about perform whois in excel.
Thanks!
