cant run excel workbook with batch file with solver addin

hello,

i want to run particular excel file in the background when a hyperlink is clicked.

what i tried is:

1) directly given link to href:

2) tried from batch, when i double click the batch file excel workbook starts but when i trigger that batch file from php page it dosent run the excel file.

3)tried from vbs same problem occurs as with the batch file.

please help me regarding the problem so i can start the workbook on the backgroung as the hyperlink is clicked.

  • Moved by Bill_Stewart 20 hours 44 minutes ago Move to more appropriate forum
December 4th, 2013 10:19am

I think you are posting in the wrong forum. This is a scripting forum.  It is not an end user support forum.  We do not accept issues related to public web sites or to users trying to run programs from web sites.  Please contact you ISP or the webmaster for your site for assistance. 

For Excel issues you will need to contact the Excel forum or call MS support.

Free Windows Admin Tool Kit Click here and download it now
December 4th, 2013 10:37am

You cannot run Excel or any other application from a webpage.
December 4th, 2013 10:45am

Hi,

    

Include the full path, in your batch file, when calling the Excel workbook.

     e.g.   "C:\Program Files\Microsoft Office\Office12\Excel.exe" C:\Temp\MyWorkbook.xlsx

    

Hope that helps.

    

Cheers,

Free Windows Admin Tool Kit Click here and download it now
December 4th, 2013 12:35pm

i tried this but nothing happened..

i want to open excel workbook on the server side when i click hyperlink on the webpage.

December 5th, 2013 1:27am

... i tried this but nothing happened ...

Hi,

    

What I did was to create a html file with hyperlink pointing to a batch file. The content of the batch file is as shown in earlier post. Upon clicked, IE prompts a security warning message, but the Excel workbook is still able to start.  The command prompt will be opened until the Excel workbook is closed.

   

Since my post does not help in Parminder's case, perhaps Parminder or Moderator can help to unmark the answer. Thank you.

    

Cheers,

Free Windows Admin Tool Kit Click here and download it now
December 5th, 2013 2:03am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics