Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
KR KR is offline
external usenet poster
 
Posts: 121
Default Use VBA to capture IP address

I did a google search for both old posts, and Excel FAQs, but wasn't able to
find what I am looking for...

Does anyone have a snippet on how to use Excel VBA to grab the current
machine's IP address?

I figure it would be something like Randy Birch's code to grab the currently
logged in user's UserID, but his code is more advanced than I can manage, so
at this point I figure I'm stuck panhandling for a sample for the IP
address.

Thanks in advance,
Keith

--
The enclosed questions or comments are entirely mine and don't represent the
thoughts, views, or policy of my employer. Any errors or omissions are my
own.


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 535
Default Use VBA to capture IP address

Hi Kr,

Does anyone have a snippet on how to use Excel VBA to grab the current
machine's IP address?


This post seems relevant:

http://groups-beta.google.com/group/...s.forms/browse
_thread/thread/e53de926fe624b6a/1792994120ef6681?q=vba+API+get+ip+addres
s+of+machine&_done=%2Fgroups%3Fsourceid%3Dnavclien t%26ie%3DUTF-8%26rls%3
DGGLD,GGLD:2003-44,GGLD:en%26q%3Dvba+API+get+ip+address+of+machine %26&_d
oneTitle=Back+to+Search&&d#1792994120ef6681

(all one url)

Regards,

Jan Karel Pieterse
Excel MVP
www.jkp-ads.com

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 63
Default Use VBA to capture IP address

Try:

http://puremis.net/excel/code/079.shtml

HTH
Jason
Atlanta, GA

-----Original Message-----
I did a google search for both old posts, and Excel

FAQs, but wasn't able to
find what I am looking for...

Does anyone have a snippet on how to use Excel VBA to

grab the current
machine's IP address?

I figure it would be something like Randy Birch's code

to grab the currently
logged in user's UserID, but his code is more advanced

than I can manage, so
at this point I figure I'm stuck panhandling for a

sample for the IP
address.

Thanks in advance,
Keith

--
The enclosed questions or comments are entirely mine and

don't represent the
thoughts, views, or policy of my employer. Any errors or

omissions are my
own.


.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel screen capture to capture cells and row and column headings jayray Excel Discussion (Misc queries) 5 November 2nd 07 11:01 PM
Capture Dynamic Range address into Modeless Form pining Excel Programming 3 November 11th 04 08:55 AM
Capture Dynamic Range address into Modeless Form pining[_2_] Excel Programming 0 November 11th 04 08:05 AM
Capture Outlook E-Mail Address Tom B Excel Programming 1 March 1st 04 08:09 PM
LINKING Address cells from an EXCEL spreadsheet to fill MapQuest Address Info Duane S. Meyer Excel Programming 0 August 30th 03 12:16 AM


All times are GMT +1. The time now is 03:40 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"