View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Norman Jones Norman Jones is offline
external usenet poster
 
Posts: 5,302
Default Pass Version of Excel to a variable

Hi ExcelMonkey,

Try:

Sub Test()
Dim strVersion As String
strVersion = Application.Version
MsgBox strVersion
End Sub

---
Regards,
Norman



"ExcelMonkey" wrote in message
...

How can you identify which version of excel you are currently in while
in VBA? Is it possible to pass this to a variable and then to a
message box to infom the user?

Thnx


--
ExcelMonkey
------------------------------------------------------------------------
ExcelMonkey's Profile:
http://www.excelforum.com/member.php...fo&userid=5221
View this thread: http://www.excelforum.com/showthread...hreadid=264618