Home |
Search |
Today's Posts |
#1
|
|||
|
|||
How do I populate a cell with the NT Logon username?
looling for a way, via a macro, to populate the cell with the users "NT
Logon" username |
#2
|
|||
|
|||
Hi Mike
For Windows NT, 2000, XP this works: Sub test() Sheets(2).Range("H137").Value = Environ("username") End Sub HTH. Best wishes Harald "Mike" skrev i melding ... looling for a way, via a macro, to populate the cell with the users "NT Logon" username |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Syntax for inferred cell references | Excel Worksheet Functions | |||
Can a Formula in Cell X modify Cell Y? | Excel Discussion (Misc queries) | |||
inserting data from a row to a cell, when the row number is specified by a formula in a cell | New Users to Excel | |||
How to populate column with formula based on value in cell | Excel Worksheet Functions | |||
VLookup resulting in a blank cell... | Excel Worksheet Functions |