LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Getting Windows user (Account) from a VBA routine

I want to provide an audit trail of who did what and when for a shared Excel application. The "Application.Username"
returns an Id that can easily be forged (Tools Options etc.). I've been looking for a way to retrieve the userid (account)
used to log on to the operating system (Windows) but so far i didn't found anything in my documentation or on the Web.
Does anybody knows a solution ? Thanks
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
ExcelAddIn - Excel Crashes under User Account - tool to troubleshoot elime Excel Discussion (Misc queries) 0 July 3rd 07 08:06 AM
Using macros in a second user account Ken W Excel Discussion (Misc queries) 3 November 13th 06 05:20 PM
i share my copmuter. how can i setup seperate new user account sofia New Users to Excel 2 August 20th 06 05:54 PM
Can a service account be embedded in Workbook so that by default the macros are run with service account credentials and not the user credentials??? Divya Sanam Excel Discussion (Misc queries) 0 July 20th 06 05:15 PM
Inheriting a laptop--how do I change office user account informati rdeemoore13 Excel Discussion (Misc queries) 2 November 4th 05 12:07 AM


All times are GMT +1. The time now is 09:45 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"