Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Finding which version of Excel created a file

Hi!
Any one know of a way to find out which version of excel was used to create
a file?

Best Regards!

Eirik
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Finding which version of Excel created a file

There are some articles in the Knowledge Base

http://support.microsoft.com

However, they are written for C++ developers as I recall. There is no
easily queriable attribute.

--
Regards,
Tom Ogilvy



"Eirik" wrote in message
...
Hi!
Any one know of a way to find out which version of excel was used to

create
a file?

Best Regards!

Eirik



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 214
Default Finding which version of Excel created a file

Hi Eirik,
May be:
Sub xlFileVersion()
Dim Typ As String
Select Case ActiveWorkbook.FileFormat
Case -4143: Typ = "Excel 2000 et plus"
Case 16: Typ = "Excel 2.1"
Case 29: Typ = "Excel 3"
Case 33: Typ = "Sheet Excel 4"
Case 35: Typ = "Workbook Excel 4"
Case 39: Typ = "Excel 5"
Case 43: Typ = "Excel 97/2000& 5/95"
Case Else: Typ = "Unknown"
End Select
MsgBox "File format: " & Typ & " !", 64
End Sub

MP

"Eirik" a écrit dans le message de
...
Hi!
Any one know of a way to find out which version of excel was used to

create
a file?

Best Regards!

Eirik


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Add-in created for previous of version of Excel Benoit Lamarche Excel Discussion (Misc queries) 1 February 21st 08 04:41 PM
Which version of Excel created the file RajenRajput1 Excel Discussion (Misc queries) 2 August 6th 07 01:42 PM
How to use excel file created in version earlier than 4.0a in 4.0 ajimmo Excel Discussion (Misc queries) 4 May 30th 05 10:20 PM
Workbook created with old version of excel [email protected] Excel Discussion (Misc queries) 0 January 25th 05 08:36 PM
Excel Version in which file was created Joe Black[_3_] Excel Programming 3 December 8th 04 01:07 AM


All times are GMT +1. The time now is 09:44 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"