Shell.application with second argument

John Sh

Active member
Local time
Today, 20:02
Joined
Feb 8, 2021
Messages
590
I am currently using this construct to open a word document to a bookmark/hyperlink, "Help" in this instance.
Code:
FollowHyperlink TempVars!XLA & "The Don McNair Herbarium Data Set.docx", "Help", , True
Is there a way to implement this with the "Shell.application", it doesn't accept the second argument.
"Tempvars!XLA" is the directory path
 
TempVars!XLA & "The Don McNair Herbarium Data Set.docx" as formatted is not a valid hyperlink.
 
"Shell.application" will only open the file and has no way to open the SubAddress.
just use FollowHyperlink.
FollowHyperlink can only be used on MS apps that has SubAddress (Excel, Word, PP).
 
"Shell.application" will only open the file and has no way to open the SubAddress.
just use FollowHyperlink.
FollowHyperlink can only be used on MS apps that has SubAddress (Excel, Word, PP).
Thank you.
I had pretty much come to that conclusion but was looking for confirmation
 
TempVars!XLA & "The Don McNair Herbarium Data Set.docx" as formatted is not a valid hyperlink.
Not sure where the "amp" comes from but what I posted is a valid hyperlink.
 
the &amp comes when you highlight the code and copy/paste it, instead of using the Clipboard button to copy.
 

Users who are viewing this thread

Back
Top Bottom