X   Site Message
(Message will auto close in 2 seconds)

Welcome to UtterAccess! Please ( Login   or   Register )

Custom Search
   Reply to this topicStart new topic
> Copy To The Clipboard    
post Apr 4 2012, 02:41 PM

Posts: 191
Joined: 30-October 10

I am looking for some VBA for a button in an Access 2007 db that when clicked will copy a SHORTCUT icon from:
quot;P:\QMS DATABASES\Shortcuts"
the icon is the "Shortcut to Record Retention Schedule"
The user then can "paste" it anywhere the like.
Go to the top of the page
post Apr 4 2012, 02:55 PM

UtterAccess Editor
Posts: 10,239
Joined: 8-November 07
From: South coast, England

You could try:
FileCopy "P:\QMS DATABASES\Shortcuts\Shortcut to Record Retention Schedule.lnk", "SomePath\Shortcut to Record Retention Schedule.lnk"
Replacing 'SomePath' with the folder path where the user wants to save the shortcut.
Go to the top of the page

Custom Search
RSSSearch   Top   Lo-Fi    24th June 2018 - 09:09 PM