Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Show Username
Hi,
How to show current username appear at specific cell when the user open the file. TQ |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Show Username
'-----------------------------------------------------------------
Private Sub Workbook_Open() '----------------------------------------------------------------- With Thisworkbook.Worksheets("Sheet1") .Range("A1").Value = Environ("UserName") End With End Sub 'This is workbook event code. 'To input this code, right click on the Excel icon on the worksheet '(or next to the File menu if you maximise your workbooks), 'select View Code from the menu, and paste the code -- HTH Bob Phillips (remove nothere from email address if mailing direct) "Param" wrote in message ... Hi, How to show current username appear at specific cell when the user open the file. TQ |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Dynamic Range with unused formula messing up x axis on dynamic graph | Charts and Charting in Excel | |||
How do I show break in bar graph to show large and small numbers | Charts and Charting in Excel | |||
Line Chart - show percent and value? | Charts and Charting in Excel | |||
Show values from other sheet | Excel Worksheet Functions | |||
UDF and Calculation tree | Links and Linking in Excel |