I will like to add the following functionality to the code below. Public Sub…
Jump to turn (9)
- 1I will like to add the following functionality to the code below. Public Sub Che
- 2The code below is not correctly completing all its checks: Public Sub CheckNewMo
- 3what I was hoping the code will do is that it would stop the Pop Up message if I
- 4Is it possible to have a conditional format that does the following: If the enti
- 5In your formula, what doe the "<>" represent
- 6formula does not work
- 7Still does not work
- 8in the formula should the <> be within apostrohe marks ""
- 9Excel rejected the formula
- User
I will like to add the following functionality to the code below.
Public Sub CheckNewMonth() Dim currentDate As Date Dim nextMonthDate As Date currentDate = Date
14 to 8 days before the end of the current month, clear the contents of D22. If D22 value is not empty then exit the sub
codenextMonthDate = DateSerial(Year(currentDate), Month(currentDate) + 1, 1) If nextMonthDate - currentDate <= 3 Then MsgBox "Please Back Up archived Sheets NOW!", vbInformation, "BACKUP SHEETS" Else If nextMonthDate - currentDate <= 7 Then MsgBox "You will have to Back Up archived Sheets soon", vbInformation, "BACKUP SHEETS" End If End IfEnd Sub
- Assistant