Everterra Posted January 31, 2017 at 09:41 AM Report Share #602227 Posted January 31, 2017 at 09:41 AM Como configurar uma opção NÂO? Pretendo ter uma opção NÂO, quando chamo uma macro associada a um botão. Link to comment Share on other sites More sharing options...
carlosAl Posted February 1, 2017 at 10:19 PM Report Share #602271 Posted February 1, 2017 at 10:19 PM (edited) talvez assimno evento ao clicar do botao colocas o codigo : If MsgBox("Quer executar a macro ? " & _ "Escolha SIM/Nao ?", vbYesNo + vbQuestion, _ "Macros") = vbYes Then MsgBox ("Vou executar a macro") ' aqui colocas o codico que usas para executar a macro Else MsgBox ("Nao vou executar a macro") End If Edited February 1, 2017 at 10:19 PM by carlosAl Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now