+ Reply to Thread
Results 1 to 6 of 6

excel and vbscript, macro ?!

Hybrid View

  1. #1
    Registered User
    Join Date
    07-30-2009
    Location
    Paris
    MS-Off Ver
    Excel 2003
    Posts
    3

    excel and vbscript, macro ?!

    Hi everyone!
    I'm knew in excel programming so excuse me if what i ask seems odd.

    I have an excel file with servername, and some descriptions attached to this server :
    Row1,Row2,Row3,Row4,Row5,...;
    SERVER1,OS,IP,MAC ADDRESS,DISKS,....
    SERVER2,OS,IP,MAC ADRRESS,DISKS,....

    i want to create a marco wich will be able to refresh this informations automatically.
    Or if i enter a servername, and run the macro, descriptions informations will be filled automatically in my datasheet.
    SERVER3,,,,,, MACRO -> SERVER3,OS,IP,MAC ADDRESS,.....

    I have a vbscript that performs this task perfectly.
    so i would like to put(somehow) the script in a macro, and it will use the "server cell" to run.

    my script use a lot of wmi and ldap request ...

    is it possible ? if yes how ?!


    Thanks all (:

  2. #2
    Registered User
    Join Date
    07-30-2009
    Location
    Paris
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: excel and vbscript, macro ?!

    No one ? :/

  3. #3
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    21,971

    Re: excel and vbscript, macro ?!

    Yes, it's possible.
    Quite hard to adjust your code unless you post it though. I am many things, but psychic is not one of them!
    Everyone who confuses correlation and causation ends up dead.

  4. #4
    Registered User
    Join Date
    07-30-2009
    Location
    Paris
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: excel and vbscript, macro ?!

    I found the solution (:
    thanks anyway !

  5. #5
    Valued Forum Contributor mudraker's Avatar
    Join Date
    11-10-2003
    Location
    Melbourne, Australia
    Posts
    3,983

    Re: excel and vbscript, macro ?!

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution. Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.
    To change a Title on your post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.
    Please Read Forum Rules Before Posting
    Wrap VBA code by selecting the code and clicking the # icon or Read This
    How To Cross Post politely

    Top Excel links for beginners to Experts

    If you are pleased with a member's answer then use the Scales icon to rate it
    If my reply has assisted or failed to assist you I welcome your Feedback.

  6. #6
    Valued Forum Contributor mudraker's Avatar
    Join Date
    11-10-2003
    Location
    Melbourne, Australia
    Posts
    3,983

    Re: excel and vbscript, macro ?!

    Please mark your thread as Solved.

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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