Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.office.developer.vba,microsoft.public.excel.misc,microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi all,
I have a workbook with multiple sheets. I want the sheet 1 always to display first and is there a method to display the current user name which updates it self automatically when different users use the book when its on a share - I'm thinking of setting up a log. I've done the following as a test but its not really what I want - ideally there would be a text box that auto changes without it having to be clicked. Sub logontest() Worksheets("Frontscreen").Activate Dim x Set x = CreateObject("WSCRIPT.Network") Dim u u = x.UserName 'update text box "Last Updated:" ActiveSheet.TextBoxes("txtLogon").Text = "Current Logon : " & u End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Macro Help Needed - Excel 2007 - Print Macro with Auto Sort | Excel Worksheet Functions | |||
Auto macro in Excel help | Excel Discussion (Misc queries) | |||
Excel auto-start macro | Excel Programming | |||
Auto Formatting Excel Macro | Excel Programming | |||
Excel auto macro problems | Excel Programming |