IT-Academy

VBA Verzie Excel

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