A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

hyperlink to other sw(exe) and open with parameters



 
 
Thread Tools Display Modes
  #1  
Old August 28th, 2008, 04:56 PM posted to microsoft.public.excel.worksheet.functions
L@ja
external usenet poster
 
Posts: 2
Default hyperlink to other sw(exe) and open with parameters

Hi,
I try to make a hyperlink to my exe and send it some parameter
but when I click in the hyperink I get the following err msg:
The specified file can't open!

If I use the start/run, this link works fine.

I can't use any other thing (eg btn, and shell macro,) because
one macro generate the link in the specified(selected) cell.

probably my problem is security based, but I don't know, how can I solve it.

Thank you your time and help
--
regards
L@ja
  #2  
Old August 28th, 2008, 05:05 PM posted to microsoft.public.excel.worksheet.functions
Gary''s Student
external usenet poster
 
Posts: 7,584
Default hyperlink to other sw(exe) and open with parameters

Here is a typical hyperlink to an exe:

=HYPERLINK("C:\Program Files\Microsoft Office\OFFICE12\WINWORD.EXE")

--
Gary''s Student - gsnu200802


"L@ja" wrote:

Hi,
I try to make a hyperlink to my exe and send it some parameter
but when I click in the hyperink I get the following err msg:
The specified file can't open!

If I use the start/run, this link works fine.

I can't use any other thing (eg btn, and shell macro,) because
one macro generate the link in the specified(selected) cell.

probably my problem is security based, but I don't know, how can I solve it.

Thank you your time and help
--
regards
L@ja

  #3  
Old August 28th, 2008, 08:28 PM posted to microsoft.public.excel.worksheet.functions
ShaneDevenshire
external usenet poster
 
Posts: 2,232
Default hyperlink to other sw(exe) and open with parameters

Hi,

By parameters you mean switches?

You might try adding the switches to the formula you were given:

=HYPERLINK("C:\Program Files\Microsoft Office\OFFICE12\WINWORD.EXE" /w)

I made up the /w switch, it may or may not do anything when opening Word.
--
Cheers,
Shane Devenshire


"L@ja" wrote:

Hi,
I try to make a hyperlink to my exe and send it some parameter
but when I click in the hyperink I get the following err msg:
The specified file can't open!

If I use the start/run, this link works fine.

I can't use any other thing (eg btn, and shell macro,) because
one macro generate the link in the specified(selected) cell.

probably my problem is security based, but I don't know, how can I solve it.

Thank you your time and help
--
regards
L@ja

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 01:28 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.