Does anybody know where excel gets this info from:
[VBA]Application.UserName
[/VBA]
because I use that in the page setup and I get an Administrator, while everyone else gets there name. And I am not an Administrator.
Does anybody know where excel gets this info from:
[VBA]Application.UserName
[/VBA]
because I use that in the page setup and I get an Administrator, while everyone else gets there name. And I am not an Administrator.
Thank you but where does Excel get the author field from?
It gets it from the value when you load Excel. If Excel is made available to everyone it is the name that the account is setup under, BUT ... it can easily be changed, it is stored in Tools>Options>General, in the Username box.
Tools/Options/General - Username
changes it for me.
MVP (Excel 2008-2010)
Post a workbook with sample data and layout if you want a quicker solution.
To help indent your macros try Smart Indent
Please remember to mark threads 'Solved'
I don't think so. Once setup when Excel is installed, it becomes an application property, and is only changed through the application.Originally Posted by CBrine
Is it included in the install? It's been so long, but I don't believe that you are prompted for that. I know the first time that an office app is run on a user profile, you are prompted for initials and user name. I think it's setup at that point, not at the install? Correct me if I wrong though(Which I know you will xld), cause I'm not positive.
Although my terminology is wrong, you are right that it is a property, but isn't a property just a class variable.
Cal