Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 37
Default How do you know what version of Excel you are using??

Hi there,

In the house I run office xp, at work I am not sure if its excel 97 or excel
2000. Is there any way of checking this out.

I am having problems with ADO at work yet at home the code works fine?

regards Harry


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,939
Default How do you know what version of Excel you are using??

Your problem is most likely going to be with the Reference you have selected
for using the ADO... Try changing the library to a lesser version (2.5 is
probably good enough) otherwise you can look at using late binding but that
is a bit of a different discussion. If it is a Reference issue and you want
to make you code completely portable then we can get into a discussion on
late binding...
--
HTH...

Jim Thomlinson


"Big H" wrote:

Hi there,

In the house I run office xp, at work I am not sure if its excel 97 or excel
2000. Is there any way of checking this out.

I am having problems with ADO at work yet at home the code works fine?

regards Harry



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 37
Default How do you know what version of Excel you are using??

Jim,
I am using 2.5 at work and in the home, yet 2.5 doesn't work at the work.
What is binding?

regards Harry

p.s

is there a way of finding out what version of excel I use at work

"Jim Thomlinson" wrote in message
...
Your problem is most likely going to be with the Reference you have
selected
for using the ADO... Try changing the library to a lesser version (2.5 is
probably good enough) otherwise you can look at using late binding but
that
is a bit of a different discussion. If it is a Reference issue and you
want
to make you code completely portable then we can get into a discussion on
late binding...
--
HTH...

Jim Thomlinson


"Big H" wrote:

Hi there,

In the house I run office xp, at work I am not sure if its excel 97 or
excel
2000. Is there any way of checking this out.

I am having problems with ADO at work yet at home the code works fine?

regards Harry





  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 269
Default How do you know what version of Excel you are using??

Big, Far be it from me to argue with the answer you already got. If
your question is more basic than Jim is interpreting it, in the
spreasheet view on the work machine, click on Help, then About Excel.
James

Big H wrote:
Hi there,

In the house I run office xp, at work I am not sure if its excel 97 or excel
2000. Is there any way of checking this out.

I am having problems with ADO at work yet at home the code works fine?

regards Harry


  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default How do you know what version of Excel you are using??


"Big H дµÀ£º
"
Hi there,

In the house I run office xp, at work I am not sure if its excel 97 or excel
2000. Is there any way of checking this out.

I am having problems with ADO at work yet at home the code works fine?

regards Harry


Excel Application:

Msgbox Application.Version

2003 -- 11
Xp -- 10
2000 -- 9

Excel File last written version:

MsgBox ThisWorkbook.CalculationVersion

something like
114210 where 11 is the Excel Version
0 means no calculation made before save

Another VBA

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



  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default How do you know what version of Excel you are using??

MsgBox ThisWorkbook.CalculationVersion

Missed something :(
The last four digit is the sub version of Excel

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
Saving a newer version of Excel using an older version (Excel 97) Alain Dekker Excel Discussion (Misc queries) 7 April 3rd 10 11:02 PM
How do I save an Excel 97-2003 version or 2007 version for Mac 200 Bronigal Excel Discussion (Misc queries) 1 December 7th 09 08:04 AM
download trial version excel 2003? can only find trial version 200 susan Excel Discussion (Misc queries) 2 November 7th 07 03:19 AM
Recover earlier version of excel sheet after new version saved? stephanie38 Excel Discussion (Misc queries) 3 June 17th 05 03:52 AM
How can I update the version of Excel 2000 9.0 to version 10.0 Ramsey Can Excel Discussion (Misc queries) 1 May 11th 05 03:28 PM


All times are GMT +1. The time now is 04:25 AM.

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"