IT-Academy

Verzia Excelu

Nov 29th, 2017
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Sub zistiVerziuExcelu()
  2.  
  3.  
  4.     Debug.Print Application.Name
  5.     If Application.Version = "15.0" Then
  6.         MsgBox "Pouzivate Microsoft Excel 2013."
  7.     ElseIf Application.Version = "14.0" Then
  8.         MsgBox "Pouzivate Microsoft Excel 2010."
  9.     ElseIf Application.Version = "12.0" Then
  10.         MsgBox "Pouzivate Microsoft Excel 2007."
  11.     ElseIf Application.Version = "11.0" Then
  12.         MsgBox "Pouzivate Microsoft Excel 2003."
  13.     ElseIf Application.Version = "9.0" Then
  14.         MsgBox "Pouzivate Microsoft Excel 2000."
  15.     ElseIf Application.Version = "8.0" Then
  16.         MsgBox "Pouzivate Microsoft Excel 97."
  17.     ElseIf Application.Version = "7.0" Then
  18.         MsgBox "Pouzivate Microsoft Excel 95."
  19.     End If
  20.  
  21. End Sub
Advertisement
Add Comment
Please, Sign In to add comment