ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Detect Excel service pack (https://www.excelbanter.com/excel-programming/406131-detect-excel-service-pack.html)

Greg Lovern

Detect Excel service pack
 
Is there a good way to detect what service pack Excel is running?
Application.Version reports the same version number regardless of
service pack.

Do I have to use Application.Path to get the path to Excel.exe, then
use FileSystemObject to get the the DateCreated property of Excel.exe,
then compare to the file date of the desired service pack? Or is there
a better way?


Thanks,

Greg

Peter T

Detect Excel service pack
 
Application.Build

Presumably there's a resource 'out there' that'll help relate potential
build numbers to the SP. If you find it maybe you can post the link.

Regards,
Peter T


"Greg Lovern" wrote in message
...
Is there a good way to detect what service pack Excel is running?
Application.Version reports the same version number regardless of
service pack.

Do I have to use Application.Path to get the path to Excel.exe, then
use FileSystemObject to get the the DateCreated property of Excel.exe,
then compare to the file date of the desired service pack? Or is there
a better way?


Thanks,

Greg





All times are GMT +1. The time now is 01:30 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com