select desktop icon using vba (via a macro)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mkmhy
    New Member
    • Nov 2008
    • 1

    select desktop icon using vba (via a macro)

    Hi

    How can I code a macro in excel to select a desktop icon?

    Do I have to use an API?
    e.g.

    Private Declare Function SHGetPathFromID List Lib "shell32.dl l"
    Thanks.
    Michael
  • Dököll
    Recognized Expert Top Contributor
    • Nov 2006
    • 2379

    #2
    Originally posted by mkmhy
    Hi

    How can I code a macro in excel to select a desktop icon?

    Do I have to use an API?
    e.g.

    Private Declare Function SHGetPathFromID List Lib "shell32.dl l"
    Thanks.
    Michael
    Greetings!

    I'll send over to VBA area, I think you will get sound results there. If you needed this in a VB form, do come back.

    In a bit!

    Comment

    Working...