Link to home
Start Free TrialLog in
Avatar of bejhan
bejhan

asked on

Create Windows shortcut with /WrkGrp switch using VBA

This question has already been discussed here:
https://www.experts-exchange.com/questions/21239762/Create-Windows-shortcut-using-VBA-with-WrkGrp-switch.html

But the solution involves refers to this page http://www.pacificdb.com.au/Support/code_shortcuts.htm
(link on there is outdated).

This involves having another file around all the time. Isn't there some other simpler way to do this?
Avatar of DatabaseMX (Joe Anderson - Former Microsoft Access MVP)
DatabaseMX (Joe Anderson - Former Microsoft Access MVP)
Flag of United States of America image

Which link is outdated?  This link works:

http://www.pacificdb.com.au/Support/code_shortcuts.htm

mx
Avatar of bejhan
bejhan

ASKER

Just noticed that the admin updated the link (in the actual solution the link is outdated).
Avatar of bejhan

ASKER

Just to clarify, I was able to see the page. I just don't like the solution provided (because ShellLnk.tlb is required to be around).
ok.  what exactly are you needing to do?
ASKER CERTIFIED SOLUTION
Avatar of Scott McDaniel (EE MVE )
Scott McDaniel (EE MVE )
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of bejhan

ASKER

The question asker here (https://www.experts-exchange.com/questions/21239762/Create-Windows-shortcut-using-VBA-with-WrkGrp-switch.html) was using that method, he was having a problem with the /wrkgrp being changes to \wrkgrp. The arguments property solves this problem though.