Results 1 to 3 of 3

How to delete cells based on dates?

Threaded View

  1. #1
    Forum Contributor
    Join Date
    01-01-2022
    Location
    India
    MS-Off Ver
    Home 2021
    Posts
    945

    How to delete cells based on dates?

    Hi,

    Hope all are well.

    Need a help using VBA in attached file.

    In sheet PR Availability, Column C turns to Not Available based on various conditions. 1 of them is if column E is selected as "Out Of Office".

    My requirement is as below.

    When dates are entered in column F and G, column E should turn to Out Of Office within those dates.

    For example, row 10 has dates 01.06.2023 to 02.06.2023. So Out Of Office shall be displayed from 01.06.2023 12.00 AM such that column C should show as "Not Available" and should disappear on 03.06.2023 12.00AM such that column C should be back to Available.

    Note: CF in column C should work as usual.

    Sheets, workbook and VBA will be locked with pass Gsk@123.


    A bit tricky but can someone please help
    Last edited by rizwanulhasan; 06-02-2023 at 04:24 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Delete all cells that are not dates
    By jeck876 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-30-2015, 10:40 AM
  2. [SOLVED] Creating a formula to populate range of cells between dates based on start and end dates
    By Rainmain82 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-20-2014, 07:42 PM
  3. [SOLVED] Creating a formula to populate range of cells between dates based on start and end dates
    By Rainmain82 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-18-2014, 07:55 AM
  4. Delete duplicates in one column, based on dates of another?
    By eptesicus in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-21-2012, 02:44 PM
  5. [SOLVED] Delete duplicates based on DATES.
    By marreco in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-31-2012, 06:26 AM
  6. Delete Rows Based on Dates, etc.
    By jlkirk in forum Excel General
    Replies: 12
    Last Post: 05-16-2011, 02:26 PM
  7. Replies: 1
    Last Post: 05-27-2010, 12:32 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1