PDA

View Full Version : get the Name displays in Start Menu



gopi09_m
10-31-2008, 07:08 AM
Hi,

How do i get the Name displays in Start Menu ?
Is there any environment variable which fetches it.

I found the Application.UserName, but it fetches the system login user name, but you may not have the same in the start menu sometimes.then what is the way to retrieve it?

--------------------
Regards,
Krrishna

Bob Phillips
10-31-2008, 07:13 AM
Environ("Username")

gopi09_m
10-31-2008, 09:59 AM
can we access it as part of Shell

Bob Phillips
10-31-2008, 10:55 AM
What do you mean?

gopi09_m
10-31-2008, 10:59 AM
i mean i want to access it as part of shell.Application

Bob Phillips
10-31-2008, 11:16 AM
Well, if your application can access environment variables, yes, if not, no.

Why are you asking this in an Excel VBA forum?