Consulting

Results 1 to 6 of 6

Thread: get the Name displays in Start Menu

  1. #1
    VBAX Regular
    Joined
    Apr 2008
    Posts
    51
    Location

    get the Name displays in Start Menu

    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

  2. #2
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    [vba]

    Environ("Username")
    [/vba]
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  3. #3
    VBAX Regular
    Joined
    Apr 2008
    Posts
    51
    Location
    can we access it as part of Shell

  4. #4
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    What do you mean?
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  5. #5
    VBAX Regular
    Joined
    Apr 2008
    Posts
    51
    Location
    i mean i want to access it as part of shell.Application

  6. #6
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    Well, if your application can access environment variables, yes, if not, no.

    Why are you asking this in an Excel VBA forum?
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •