Deleting a shortcut with vba

  • Thread starter Thread starter Doug Sanders
  • Start date Start date
D

Doug Sanders

Here's what I've done (with help from this newsgroup)

When Access database is opened, shortcuts to Active and Completed folders
are put on the user's desktop. This works great.

Now, I've been trying this last puzzle piece for days.

I need to delete those same shortcuts from a user's desktop when Access is
closed.

Any help would be appreciated!

Doug Sanders
 
Shortcut files are simply files with DOS extension "lnk".

Simply use the Kill Method to delete the "lnk" files.
 
Back
Top