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.
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.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Here's how it looks in VBScript.
<html>
<head>
<title></title>
<script language="VBScript">
Dim objXL,Object
Set objXL = CreateObject("Excel.Applic ation")
MsgBox(objXL.Build)
Set objXL = Nothing
</script>
</head>
<body>
</body>
</html>
<html>
<head>
<title></title>
<script language="VBScript">
Dim objXL,Object
Set objXL = CreateObject("Excel.Applic
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.
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 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.
ASKER
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
http://www.dmvista.com/Resource/window_test.html