I made buttons for my applications (.bat, .exe etc...) but with some MS apps that only have a .lnk file. I cannot place the short cut (.lnk) and get it to launch. Can someone please enlighten me?
I made buttons for my applications (.bat, .exe etc...) but with some MS apps that only have a .lnk file. I cannot place the short cut (.lnk) and get it to launch. Can someone please enlighten me?
Hi GeoSoft
Welcome to VBAX
Have you tried FollowHyperlinks method?
[vba]
ActiveWorkbook.FollowHyperlink "C:\AAA\MyNames.txt.lnk"
[/vba]
MVP (Excel 2008-2010)
Post a workbook with sample data and layout if you want a quicker solution.
To help indent your macros try Smart Indent
Please remember to mark threads 'Solved'
Originally Posted by mdmackillop
This worked perfectly for both the .lnk and url.
Thanks