Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default VB for Excel/Foreign OS

I've written a small macro which includes the following two commands:
varVer=Application.Version
varBld=Application.Build

When I run this macro on a machine with Excel 2000 (fully patched with
Office Updates) running on a Windows XP (U.S. installation) the version is
returned as 9 and the build is 8924.

When I run this macro on a machine with Excel 2000 (fully patched with
Office Updates) running on a Windows XP (German installation) the version is
returned as 9 and the build is 90 and the build is 2719.

I guess I would have presumed that the OS language would not affect the
build number. And most definitely would not have affected the version number.

Can anyone tell me . . .
1. Can I safely anticipate that all non-U.S. language versions of Windows XP
running Excel 2000 will return a version of 90, versus 9 when using a U.S.
language OS? Would this be the same for other versions of Excel (v10/v100 or
v11/v110)?
2. Can I safely anticipate that all non-U.S. language versions of Windows XP
running Excel version x will have the same build number?
3. Is there a definitive chart anywhere showing current versions and builds
for Excel 9 (Office 2000), Excel 10 (Office XP), and Excel 11 (Office 2003)?

Thanks to anyone who can give me some pointers.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,253
Default VB for Excel/Foreign OS


the version is returned as a string e.g. "9.0"

depending on regional settings the "."
MAY be interpreted as a decimal separator.
on assigning it to a variant.

assign it to a STRING variable and you'll see.

use varVer = VAL(application.version) to get consistency.




--
keepITcool
| www.XLsupport.com | keepITcool chello nl | amsterdam


Nyle wrote :

I've written a small macro which includes the following two commands:
varVer=Application.Version
varBld=Application.Build

When I run this macro on a machine with Excel 2000 (fully patched
with Office Updates) running on a Windows XP (U.S. installation) the
version is returned as 9 and the build is 8924.

When I run this macro on a machine with Excel 2000 (fully patched
with Office Updates) running on a Windows XP (German installation)
the version is returned as 9 and the build is 90 and the build is
2719.

I guess I would have presumed that the OS language would not affect
the build number. And most definitely would not have affected the
version number.

Can anyone tell me . . .
1. Can I safely anticipate that all non-U.S. language versions of
Windows XP running Excel 2000 will return a version of 90, versus 9
when using a U.S. language OS? Would this be the same for other
versions of Excel (v10/v100 or v11/v110)?
2. Can I safely anticipate that all non-U.S. language versions of
Windows XP running Excel version x will have the same build number?
3. Is there a definitive chart anywhere showing current versions and
builds for Excel 9 (Office 2000), Excel 10 (Office XP), and Excel 11
(Office 2003)?

Thanks to anyone who can give me some pointers.


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 233
Default VB for Excel/Foreign OS

To complete your enquiry:

2. No, patches might be language specific, and MS does not roll out
patches for all languages in one go.

3. No (but maybe at MS;) this build number is a running target that
changes with each patch that is issued.

DM unseen

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
Using foreign characters Victor Excel Discussion (Misc queries) 1 June 2nd 06 07:11 AM
Excel in a foreign language nsv Excel Discussion (Misc queries) 1 February 16th 06 02:34 PM
Foreign Exchange peterthistle Excel Discussion (Misc queries) 2 November 21st 05 02:19 PM
how do I add accents for foreign words when using excel? devlys Excel Discussion (Misc queries) 2 January 11th 05 05:57 PM
Help: foreign key reference in Excel noname[_2_] Excel Programming 1 November 11th 03 01:14 PM


All times are GMT +1. The time now is 01:43 AM.

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

About Us

"It's about Microsoft Excel"