+ Reply to Thread
Results 1 to 2 of 2

Need to remove cmd window from ping script and have hostname show up without lagging

  1. #1
    Registered User
    Join Date
    03-08-2013
    Location
    IL
    MS-Off Ver
    Excel 2007
    Posts
    8

    Need to remove cmd window from ping script and have hostname show up without lagging

    I've been searching for a while for a ping script inside an excel sheet. After a couple days of searching, I've found the one that's fast enough to do the job. However, I'm having a hard time disabling the ping window from popping up. If possible, I would like the script to run in the background without appearing on the screen. Doable?

    Also I’ve been messing around with adding the –a so that I could pull the hostname. Its working great up until it hits an IP address that doesn’t have a host name. So that takes a little longer. Is there a way for me to use the
    Please Login or Register  to view this content.
    line to have it where it’s either “[ “or “:”

    Any help would be greatly appreciated. Thank you in advance

    I've attached a spreadsheet with the script. If not then here's the script I'm using
    Please Login or Register  to view this content.
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    03-08-2013
    Location
    IL
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: Need to remove cmd window from ping script and have hostname show up without lagging

    No replies? TTT

    I could live with the cmd window popping up. Most importantly what I want to achieve is if the script is able to ping the device, grabs the hostname and if the hostname is not available it grabs the ip address instead.

    Any help would be awesome. Thanks!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] How to show both Project Explorer and Code window in the VB window?
    By m3atball in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-02-2014, 07:22 PM
  2. Popup window to confirm script is complete
    By xatomicx in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-13-2013, 10:49 AM
  3. Converting a Ping Log to Average Ping per Hour Chart
    By AndroidNine in forum Excel General
    Replies: 7
    Last Post: 08-22-2013, 01:38 AM
  4. Looking for PING with Hostname and MAC address
    By blobberthrhino in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-16-2011, 06:26 PM
  5. Stumped with VBA and Script Editor (hyperlink that opens new window)
    By trentonm in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-02-2009, 02:34 PM
  6. Sort/Remove Script?
    By rosscoloco in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-02-2009, 03:52 AM
  7. Replies: 6
    Last Post: 04-18-2005, 01:06 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1