vbyesnocancel

  1. andrewb90

    vb Cancel change

    I have a macro with a vbYesNo in it currently, I tried adding cancel as an option (vbYesNoCancel) but ran into some issues. Can anybody assist me in making my code run with the Cancel option? All I need is to have the cancel option there and have the sub end if cancel is selected. Sub Sendit()...
  2. K

    Case vbNo not working

    Hello there, can you please tell me whats wrong with case VbNo? its suposed to close the workboo when user select "No" Private Sub Workbook_BeforeClose(Cancel As Boolean) Cancel = True Application.DisplayAlerts = False Dim exit1 As Integer exit1 = MsgBox(" Would you like to save...

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top