Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6234123
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T10:25:38+00:00 2026-05-24T10:25:38+00:00

I have a workflow process that runs in weird combination of html and excel,

  • 0

I have a workflow process that runs in weird combination of html and excel, this was already done when I came to work here so I’m no able to restart the process, well here is the deal:
After a certain step on the flow, a html file is sent through email, this file contains an active x that will automatically open excel with some given parameters, however even though everything seems to build with parameters the path for excel is hardcoded, we never had an issue with this as everyone was using Excel 2003 and pretty much everyone had the same image so the path was the same, but now some users (top management) will be migrating to office 2010. Therefore I need a way to automatically detect the excel version through the active x so the html file will open the correct excel version.

Any ideas?

Thanks!

EDIT
this is what I use:

<script language="JavaScript">

function LoadVendor()
{
 var vendor = document.getElementById("vendor").value;
 document.getElementById("vend").innerHTML=vendor; 

 var BIDnum = document.getElementById("BIDnumber").value;
 document.getElementById("BIDnum").innerHTML=BIDnum; 
}

function openExcelDocPath()
{
 var shell = new ActiveXObject("WScript.Shell");
 var excelexe = document.getElementById("excelexe").value;
 var excelprg = document.getElementById("excelprg").value;
 var vendor = document.getElementById("vendor").value;
 document.getElementById("vend").innerHTML=vendor;

 shell.run( "\"" + excelexe + "\"" + excelprg , 1, false );

 try{objExcel.comaddins("SAS.OIBootStrap.Connect").connect = "False"; }
  catch(err)
  {  }
}

</script>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T10:25:39+00:00Added an answer on May 24, 2026 at 10:25 am

    I’m not 100% on what your after but you could drop the physical path entirely;

    var Excel = new ActiveXObject("excel.application");
    Excel.Visible = true;
    Excel.Workbooks.Add(); //to keep resident if you want interactivity
    //can open something here ...
    
    //or just get the path/version
    alert( Excel.version );
    alert( Excel.path );
    
    //to kill
    //Excel.Quit();
    //Excel = null;
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have two process and a shared memory zone, my workflow is like this.
I have an application that runs on a server under Solaris. This application exports
I have a .xamlx flowchart workflow that models an approval process. if the submitter
I have some workflow to work with in Worflow foundation. I need to follow
I have a workflow created in Sharepoint designer that works fine when manually triggered.
i have created a workflow activity that do give the item creater of a
I have a Windows Workflow application that uses classes I've written for COM automation.
I have a skelta workflow that has finished with errors according to the WorkflowExecutionReport.
I have created a workflow, and Im running it via WorkflowInstance.Run(). This workflow has
I'm in the process of implementing a workflow in Sitecore, and for that I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.