Boa noite!!
Vai ai uma gambiarra...
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Cells.Count > 1 Then Exit Sub
If Target = "" Then Exit Sub
Application.ScreenUpdating = False
Application.EnableEvents = False
Select Case Sheets("Plan1").Range("B2").Value
Case 1
MsgBox "macro1"
Case 2
MsgBox "macro2"
Case 3
MsgBox "macro3"
End Select
Application.ScreenUpdating = True
Application.EnableEvents = True
End Sub
Existem mil maneiras de preparar Neston. Invente a sua!
http://www.youtube.com/ExpressoExcel
Postado : 21/09/2012 9:21 pm