tbl:
You said "Application.UserName will just look up the registered name of the Excel application as set under TOOLS/OPTIONS. You can set this to anything you like.
That is what I said in my first response to Katana2003. I know people can set this to whatever they want. In my experience, I know people tend to set this to their full name (with a space in between the names) so that they can use it in letters and such. Not the best method, I know, but it is still 1 method.
You also said "My user logon detection detects the person who is currently logged on to the PC. Once you have the log-on name you can convert it easily to any other text as required with set of CASE or IF statements and a list of possible users, so that fred_blogs translates to Fred Bloggs etc."
I also covered this in my last post. But, If you have "fred_blogs", you don't even need "If" statements. It is simple string manipulation.
But, if you have "timothyjones" how do write code to know where the "First Name" and "Last Name" begin and end? If there is no separator you would have to have a list of every first name possible in order to separate the two. Not every Login name is going to be "Fred Jones" or "Fred_Jones." They might be "fredjones" or "fjones" (as I have attempted to explain).
I'm not saying that it cannot be done, I am simply saying that there are many ways that this can be done to suit Katana's needs, BUT, there could be problems if all the possibilities are not thought of.
********************
What's the best way to get the answers you need?? See FAQ222-2244 for details!