Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 238
Default ead the Windows version

I can read the excel version using a macro. Thanks to info from this
group. Is there a way to read the Windows version too?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 91
Default ead the Windows version

No direct method but you can use the INFO function for getting the OS
version and from the number you can drive the description (Link given)

The following line will show the OS version

msgbox application.evaluate("=Info(""osversion"")")

Windows Link:http://en.wikipedia.org/wiki/Windows_NT

My OS is windows I don't know what this function will return in non
WIN OS.

Further you may get OS version,Build etc from registry
(HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion) but
VBA can't help in this you may use batch technique (Reg command) or
use VB scripting (Regread)
(Search net as many sample code may be alreday there.)
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 420
Default ead the Windows version

Check your other post.

On 08/18/2010 02:55, Fan924 wrote:
I can read the excel version using a macro. Thanks to info from this
group. Is there a way to read the Windows version too?


--
Dave Peterson
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
read the Windows version Fan924 Excel Programming 2 August 19th 10 06:33 AM
Istalled Windows Version Norman Jones Excel Programming 0 January 4th 07 12:36 AM
Calculator in Windows like Mac version Julie D Setting up and Configuration of Excel 0 November 8th 06 06:08 PM
Windows version language and Excel version language Jac Tremblay[_4_] Excel Programming 3 July 1st 06 04:04 PM
Excel 97 Macros in Later Version of Windows Partho[_2_] Excel Programming 1 June 9th 04 08:51 AM


All times are GMT +1. The time now is 06:08 PM.

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"