View Single Post
 
Old 05-10-2016, 05:03 AM
vince692 vince692 is offline Windows 7 64bit Office 2010 32bit
Novice
 
Join Date: May 2016
Posts: 22
vince692 is on a distinguished road
Default

I'am sorry, i should check it out what you said before. I missed that selection part...
And doing VB for 2 days ...
Your code works great, thank you !

I don't have issue about sending arguments to an exe, i found the shell cmd which is working fine :
Code:
Call Shell("""" & strProgramPath & """" & strArgument & """", vbNormalFocus)
However i need to delete spaces from Hyperlink name to send the name as one argument. I did it and is working fine.

In order to understand .Hyperlinlk is an array of all selected Word hyperlinks ?
Is there a way to work with it or should i create a new variable as myarray() ?

BR,
Vincent
Reply With Quote