Link to home
Start Free TrialLog in
Avatar of JimV_ATL
JimV_ATL

asked on

Determine Version of Microsoft Excel on Client Computer

I would like a way using Javascript or Browser VB Script to determine the version of MS Excel on the client machine.

If this is not possible (and I don't know that it is), then a link to a java applet that does this would be great as well.
Avatar of thanassis
thanassis

ASKER CERTIFIED SOLUTION
Avatar of gph
gph

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Here's how it looks in VBScript.

<html>
<head>
<title></title>
<script language="VBScript">
Dim objXL,Object
Set objXL = CreateObject("Excel.Application")
MsgBox(objXL.Build)
Set objXL = Nothing
</script>
</head>
<body>
</body>
</html>

If you're going to use this, go with the JS.  MS has decided to drop VBScript.
Avatar of JimV_ATL

ASKER

Thanks! Perfect.  I guessed that there was a property of excel.application called version, so that worked even better.  

I have a follow up to the question here:

https://www.experts-exchange.com/questions/20553560/Soft-Failure-for-saying-No-to-Active-X-warning-or-if-Disabled-in-Security.html
I just caught what you ment by version. I got Build from a FrontPage resource.  Version makes more sense and works with FP.
Found version in the resource.  My mistake.
FYI, to allow this to run on anything but the lowest Internet Exporer security setting would require an X.509 digital signature.

I see, ASAIK IE installs set to medium.  Sounds like a big hurdle