Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 27
Default run batch job from each row - how to insert run batch function per row?

I have pasted hyperlinks down a spreadsheet in one column. Each hyperlink
navigates to a location of a specific batch file. The path works, however
when I click the link to run the batch, the batch file never executes. Is
there a function available to run programs with the hyperlink? Do you know
what could be wrong? Thanks MC

Ex.

hyperlink
-----------------
copyDB.bat
runLogs.bat
setRecord.bat
processCBR.bat

--
Misty :-)

Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...excel/200902/1

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,365
Default run batch job from each row - how to insert run batch function per



"Mitchell_Collen via OfficeKB.com" wrote:

I have pasted hyperlinks down a spreadsheet in one column. Each hyperlink
navigates to a location of a specific batch file. The path works, however
when I click the link to run the batch, the batch file never executes. Is
there a function available to run programs with the hyperlink? Do you know
what could be wrong? Thanks MC

Ex.

hyperlink
-----------------
copyDB.bat
runLogs.bat
setRecord.bat
processCBR.bat

--
Misty :-)

Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...excel/200902/1


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,365
Default run batch job from each row - how to insert run batch function per

Are they really hyperlinks, not jus text entered into the cells?

I wrote a short .bat file and set up some text in a cell (Excel 2003) and
then used Insert | Hyperlink to actually make it a link to the .bat file.
When I click the hyperlink, it definitely runs... but!! I get system alerts
regarding the security aspects of it all, which is to be expected.

When it does run, the command window opens and closes very rapidly since
this is just a one-line "echo Greetings from your friendly batch file" batch
file. But it does run.

"Mitchell_Collen via OfficeKB.com" wrote:

I have pasted hyperlinks down a spreadsheet in one column. Each hyperlink
navigates to a location of a specific batch file. The path works, however
when I click the link to run the batch, the batch file never executes. Is
there a function available to run programs with the hyperlink? Do you know
what could be wrong? Thanks MC

Ex.

hyperlink
-----------------
copyDB.bat
runLogs.bat
setRecord.bat
processCBR.bat

--
Misty :-)

Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...excel/200902/1


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 27
Default run batch job from each row - how to insert run batch function per

JLatham thanks for your help. Do you know how to turn off system alert? -MC
regarding the security aspects of it all, which is to be expected.


--
Misty :-)

Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...excel/200902/1

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,365
Default run batch job from each row - how to insert run batch function

Sorry, actually I don't - or if I do, I've certainly forgotten and a quick
peek around didn't reveal anything or spark my memory.
It's at the Windows OS level, not within Excel, for these particular alerts.
Perhaps if you checked in the one of the Windows related discussion groups
they may have the answer.
Here's a link to the Windows Home Users Security group:
http://www.microsoft.com/communities...&lang=en&cr=US

Good luck, just remember that if you disable these at the OS level, you may
not get an alert when you need/want it - such as when dealing with malicious
email or other similar problematic situations.


"Mitchell_Collen via OfficeKB.com" wrote:

JLatham thanks for your help. Do you know how to turn off system alert? -MC
regarding the security aspects of it all, which is to be expected.


--
Misty :-)

Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...excel/200902/1




  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,203
Default run batch job from each row - how to insert run batch function per

Mitchell_Collen,
Further research along these lines finally led me to the solution for
disabling the "links may be harmful" alerts. The root information is he
http://support.microsoft.com/kb/829072

I've created two files to disable/re-enable the alert that you can download.
These files have a .txt extension which you will have to change to .reg
before you can use them. I gave them the .txt extension because some
security features on some systems may prevent downloading of .reg files (they
do have the potential for turning your day into a really bad one).

The files are available at:
http://www.jlathamsite.com/uploads/D...nkWarnings.txt
http://www.jlathamsite.com/uploads/E...nkWarnings.txt

Hope this helps some, especially if you don't already have this information.

"Mitchell_Collen via OfficeKB.com" wrote:

I have pasted hyperlinks down a spreadsheet in one column. Each hyperlink
navigates to a location of a specific batch file. The path works, however
when I click the link to run the batch, the batch file never executes. Is
there a function available to run programs with the hyperlink? Do you know
what could be wrong? Thanks MC

Ex.

hyperlink
-----------------
copyDB.bat
runLogs.bat
setRecord.bat
processCBR.bat

--
Misty :-)

Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...excel/200902/1


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Checkbox index and batch print function Eric Excel Discussion (Misc queries) 0 September 1st 07 09:18 PM
Batch Convert CSV to XLS Dave Excel Discussion (Misc queries) 1 June 28th 07 02:04 PM
batch file camilia Excel Discussion (Misc queries) 0 February 1st 07 01:59 PM
batch printing without VBA krikri Excel Discussion (Misc queries) 2 February 9th 06 02:24 PM
Batch change Tester Excel Discussion (Misc queries) 0 November 9th 05 02:32 PM


All times are GMT +1. The time now is 07:04 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"