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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top