- 20 Ago 2015 às 23:32
#2368
Olá,
Eu queria que alguém pudesse me ajudar interpretar este código pois não estou intendendo ele... por favor alguém poderia me ajudar e principalmente onde está em negrito.
Sub chamar()
If ProtegidoVBProject(ActiveWorkbook) Then
Else
sos
End If
Application.EnableEvents = False
Application.Visible = False
Dim cont, auxcont As Integer
Plan1.Range("c15485") = Date
If Plan1.Range("b15485") = nill Then
Plan5.Range("b15485") = Date
End If
cont = Format(Plan1.Range("c15485") - Plan1.Range("b15485"), "0")
auxcont = 9999 - cont
If cont >= 9999 Then
Application.Visible = False
UserForm.Show
Else
menu.Show
End If
End Sub
Att.
Eu queria que alguém pudesse me ajudar interpretar este código pois não estou intendendo ele... por favor alguém poderia me ajudar e principalmente onde está em negrito.
Sub chamar()
If ProtegidoVBProject(ActiveWorkbook) Then
Else
sos
End If
Application.EnableEvents = False
Application.Visible = False
Dim cont, auxcont As Integer
Plan1.Range("c15485") = Date
If Plan1.Range("b15485") = nill Then
Plan5.Range("b15485") = Date
End If
cont = Format(Plan1.Range("c15485") - Plan1.Range("b15485"), "0")
auxcont = 9999 - cont
If cont >= 9999 Then
Application.Visible = False
UserForm.Show
Else
menu.Show
End If
End Sub
Att.