#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 39
Default Host name

How can I get the host name of the computer that is running a macro, from
inside the macro?

All help is greatly appreciated.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default Host name

One way:
?environ("COMPUTERNAME")

NickHK

"OlieH" wrote in message
...
How can I get the host name of the computer that is running a macro, from
inside the macro?

All help is greatly appreciated.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 39
Default Host name

NickHK, thank you very much. That worked just fine.

"NickHK" wrote:

One way:
?environ("COMPUTERNAME")

NickHK

"OlieH" wrote in message
...
How can I get the host name of the computer that is running a macro, from
inside the macro?

All help is greatly appreciated.




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
Which hosting is better? Hostgater or seo-host Teahdeese Excel Discussion (Misc queries) 0 October 18th 08 05:13 AM
Top 10 Things To Look For In A Web Host best_hosting Excel Worksheet Functions 0 September 14th 08 03:01 PM
Host Session Emulation [email protected] Excel Worksheet Functions 0 December 27th 06 05:47 PM
Getting Host Name Delboy Excel Programming 1 February 1st 06 05:38 PM
Convert IP Address to Host Name Ed Wurster Excel Programming 4 October 28th 04 01:14 PM


All times are GMT +1. The time now is 02:55 PM.

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"