UtterAccess.com
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    
 
   
lorenambrose
post Apr 4 2012, 02:41 PM
Post#1



Posts: 163
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
 
pere_de_chipstic...
post Apr 4 2012, 02:55 PM
Post#2


UtterAccess Editor
Posts: 9,297
Joined: 8-November 07
From: South coast, England


Hi
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.
hth
Go to the top of the page
 


RSSSearch   Top   Lo-Fi    6th March 2015 - 12:30 PM