![]() |
#5
|
|||
|
|||
![]() Code:
Option Explicit Sub Test3() Dim answer As Variant answer = MsgBox("Are you certain these cells are to be deleted ?", vbYesNo + vbQuestion, "Delete Cells ?") If answer = vbYes Then Call Test1 Else Exit Sub End If End Sub Sub Test1() 'Code here to delete or clear cells MsgBox "Running macro" End Sub |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
NotQuiteANovice | Word VBA | 1 | 04-07-2017 05:41 PM |
![]() |
ThisGuyJohn | Excel Programming | 5 | 02-03-2017 03:16 PM |
![]() |
Lancashire Lad | Word VBA | 2 | 10-26-2015 10:22 AM |
Deleting info from specific table cells | jamierbooth | Word VBA | 3 | 07-29-2014 03:20 PM |
![]() |
Jamtart | PowerPoint | 3 | 09-01-2012 08:21 AM |