Wait for user to change data after msgbox ????

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi

I have a macro where it creates an Invoice from data on different sheets ...
but when complete I need to ask the user if any changes are required to it.
If yes then allow changes but not lose place in macro... so that print and
clear up routines can be run

Any ideas please !!!!!
 
Trev,

If MsgBox("Is there more?", vbYesNo) = vbYes Then
' ... code for more
Else
' ... code for no more
End If

or

Response = MsgBox("Is there more", vbYesNo)
If Response = vbYes Then
' ... code for yes
end if
End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top