sdate1

  1. Pinaceous

    VBA If statement

    Dear All, I have two dates, where I'd like a message box to pop, if the dates are between this criteria. sDate1 = #10/1/2019# sDate2 = #9/30/2020# How would I create the following? If date is between sDate1 & sDate2 Then...
  2. Pinaceous

    VBA condition to lock &/or protect row

    Hi All, I’m trying to work out a condition where: Dim sDate1 As Date Dim sDate2 As Date sDate1 = #10/1/2019# sDate2 = #9/30/2020# In using the Case Select or an If statement for three conditions. If cell B11 is between sDate1 & sDate2 then it locks OR protects...
  3. Pinaceous

    VBA Sub BetweenDates

    Hi all, I'm working with the following sub and am wondering if there is a way to extend this range to include its column? Please help with your posted suggestions & thank you! Sub BTWDates() Dim x As Date Dim sDate1 As Date Dim sDate2 As Date sDate1 = #10/1/2019# sDate2 =...

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