Notifications
Clear all
2024 - VBA & Macros
1
Posts
1
Usuários
0
Reactions
444
Visualizações
Topic starter
Bom dia!!!
Conta quantas vezes o arquivo foi aberto.
Private Sub Workbook_Open() Dim eCount As Range Set eCount = Plan1.Cells(1, 1) 'Será contado em A1 da planilha (Plan1) If eCount.Value < 10 Then eCount.Value = eCount.Value + 1 Else 'Faça sua senha End If End Sub
Existem mil maneiras de preparar Neston. Invente a sua!
http://www.youtube.com/ExpressoExcel
Postado : 06/09/2012 4:37 am