Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can a spreadsheet tell which version of Excel has opened it? 4

Status
Not open for further replies.

lionelhill

Technical User
Dec 14, 2002
1,520
GB
Hi...
I'm working in a mixed environment of Excel2003 and Excel2007, but most of my Excel2003-using clients can open .xlsx files, with automated file conversion.

When they do so, they miss out on any 2007-specific features. Obviously Excel2003 warns them, but the message is in geek-speak and not very specific.

I would like to add to my spreadsheets a dire and more specific warning, visible only when the sheet is opened in Excel2003, which can alert users to the things most likely to mislead them (conditional formatting that will come out completely different to that described in associated documentation, etc.). So I'm looking for an Excel2003 function, if any exists, that tells me the current version of Excel. Alternatively if it's possible in VBA, I can repost there.

Many thanks in advance! Copious stars available as usual...
 


hi,
Code:
Sub WhatVers()
  MsgBox Application.Version
End Sub
Add control logic as needed. Post VBA questions in forum707.

Skip,

[glasses]Just traded in my old subtlety...
for a NUANCE![tongue]
 
Thanks for the instant response! I had hoped to avoid VBA, but if two experts tell me that's the way to go, I go happy.
 
You can too directly:
=INFO("release")

combo
 


I know that I should have checked the 'Information' category! ==>*

Skip,

[glasses]Just traded in my old subtlety...
for a NUANCE![tongue]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top