Thread: [Solved] message box
View Single Post
 
Old 05-16-2013, 10:13 AM
Catalin.B Catalin.B is offline Windows Vista Office 2010 32bit
Expert
 
Join Date: May 2011
Location: Iaşi, Romānia
Posts: 386
Catalin.B is on a distinguished road
Default

This one is for Excel Programming forum.
Anyway, you can try this:
Code:
Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As Boolean)  Dim i As Integer
 With Worksheets("sheet1")
         For i = 6 To 14 Step 2
            If Cells(i, "D") = "Assistance" Then _
               MsgBox ("You need to complete cell J" & i)
            Next
 End With 
End Sub
Reply With Quote