How to find the response from user on prompt

R

ray1.wilson

How can I get what the user response is when attempting to delete a
worksheet using a macro - ActiveWindow.SelectedSheets.Delete

When I try to delete a worksheet, a prompt box "Data may exist in the
sheet(s) selected for deletion. To permanently delete the date, press
Delete.

The user can then select Delete or Cancel, basically I want the macro
to know what the user has selected
 

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

Top