How To Get Logon Name

Jan 22, 2008

I need to find out how to obtain the user logon name when the excel starts up in a more secure way. At the moment I am using the function environ('username') to obtain the name. However, it can be tempered by adding 'Set USERNAME=xxx' to the Environment Variable list. Is there a secure way to find out who logged on such as by interrogating the Active Directories?

View 9 Replies


Save Workbook NT Logon Name

Sep 15, 2006

I have a workbook containing a few scripts that is used by a few people over the network. I'm wanting it to autosave when run (I have the code for this), but want it to include the user's NTLOGON in the file name. I'm using Excel 97 on Win NT4

View 4 Replies View Related

Automatically Enter Logon Credentials Using VBA

Oct 8, 2013

I have a command button that opens 5 windows when it is selected. Each window asks us to enter the username, password and logon to in order to sign on...thus, we have to do this a total of 5x manually.

If possible, I'd like for the aforementioned fields to be entered using VBA code, so when I click the command button, all 5 windows open with the login infomration already entered.

For examples, sake, lets say the usernmae is ABC1234, the password is Password and the Logon To field is Alliance. If this is possible, how would I code this?

View 2 Replies View Related

Finding The Logon And Logoff Time For That Date

May 14, 2009

I have one monthly file which is in the attached format file name "Example".

I need the data from this file as per the format mentioned in the file "must be in this format".

from the "example.xlsx" file i need the login time (only first login) and Logoff time (only last logoff time) which is there in the description column. It must be available in the format mentioned in the file "must be in the format.xlsx".

View 14 Replies View Related

Fill Combobox Dependent On User Logon

Mar 2, 2012

I have a logon screen and would like to fill a combobox dependent on which user logon.

If User1 logon - options 1,2,4 must be in dropdown list
if User2 logon - options 2,5,6, must be in dropdown list, etc....

View 5 Replies View Related

Logon Box - User / Pass - Unique Actions Per User.

Apr 2, 2009

I have a workbook that is used to track overtime hours worked through the year. I've received some help from users on this forum, and others, to create the necessary macros and formulas to allow a supervisor to make use of the form; however, the workbook is also used to track those that wish to volunteer to work overtime each weekend. The sheet has a list of names for the employees on each shift, then a column to allow a "Y" to be placed under the date - designating them as a volunteer for any overtime available. I've found this spreadsheet (attached - from this site) that will allow individual users to access the workbook and have unique passwords for each. I don't completely understand how it works, but I feel it may be a start to getting what I want.

Essentially, once the user selects their name and inputs their password, I'd like the workbook to be opened and then allow them to only manipulate the row associated with their name. That row will change from week to week, so specific numbers will not be able to be used, but their name will be the same as the name used in the logon.

I feel like I'm asking for a lot here, so just some initial guidance on whether this type of thing is possible would be an acceptable answer.

View 9 Replies View Related

Copyrights 2005-15, All rights reserved