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

Welcome to UtterAccess! Please ( Login   or   Register )

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

Posts: 176
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: 9,584
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

RSSSearch   Top   Lo-Fi    6th July 2015 - 05:08 PM