Home |
Search |
Today's Posts |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I don't know if the USERNAME on the local PC is the same name you are looking
for. Can get user ID with this code UserName = Environ("USERNAME") MsgBox (UserName) It sounds like the same user will have a different UserName on different machines? It seems that you need to look up the persons name to get the ID. Is your data like this Server1 Jdoe Server1 mSmith server2 badam server2 cdown Server2 mSmith And you want the results like this jDoe Server1 mSmith Server1 Server2 badam Server2 cdown Server2 "Anuj" wrote: it should be designed in a way that we populate the list of machines in column A, and if we run the macro user id gets displayed in column B. not sure from where the user id will come, may be through some command, not sure. "Joel" wrote: Need more description of your data. Details f wher the User Login comes from and wehre the list of machines comes from. "Anuj" wrote: I Need a excel macro through which we check the users login on a list of machines. If we run a macro the script find the corresponding user of the machines from one column, and writes the Login Id in the next column. Any help please, not sure if this is the right group. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Macro Help Needed - Excel 2007 - Print Macro with Auto Sort | Excel Worksheet Functions | |||
Call macro stored in Excel workbook from Outlook's macro | Excel Programming | |||
Need syntax for RUNning a Word macro with an argument, called from an Excel macro | Excel Programming | |||
translate lotus 1-2-3 macro into excel macro using excel 2000 | Excel Programming | |||
Excel Macro Issue Trying to autorun Macro Upon Opening Worksheet | Excel Programming |