Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Does anyone know of a function or macro that will allow the current windows
userid to be displayed in a cell such as: "Printed by: userid"? Any help is greatly appreciated. |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi,
Try this Private Sub Workbook_BeforePrint(Cancel As Boolean) Sheets("Sheet1").Range("A1") = "Printed by " & Environ("Username") End Sub Mike "MartyMack74" wrote: Does anyone know of a function or macro that will allow the current windows userid to be displayed in a cell such as: "Printed by: userid"? Any help is greatly appreciated. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Inserting current date | Excel Worksheet Functions | |||
Inserting current date when number entered in cell & Circular reference error? | Excel Discussion (Misc queries) | |||
Automatically inserting current date in a cell | Excel Discussion (Misc queries) | |||
Inserting User Name into a cell | Excel Discussion (Misc queries) | |||
Function that gives Windows current user name? | Excel Worksheet Functions |