SWAY14
New Member
- Joined
- Jul 27, 2022
- Messages
- 15
- Office Version
- 2019
- 2016
- 2013
- Platform
- Windows
- MacOS
Hello,
I am still relatively new to VBA and need help. Thank you in advanced.
I am looking for help with creating a VBA if a timestamp in column A is not between 2 timestamps then delete that row. For example if 8/11/2022 4:10:42 PM is not between 5:00:00 and 5:59:00 then delete the entire row. Would something like this be possible? I currently have a VBA which deletes the row if not not todays date but I would like to break it down further by if today date and not between essentially 5-6 pm then delete row. thank you very much in advanced.
I am still relatively new to VBA and need help. Thank you in advanced.
I am looking for help with creating a VBA if a timestamp in column A is not between 2 timestamps then delete that row. For example if 8/11/2022 4:10:42 PM is not between 5:00:00 and 5:59:00 then delete the entire row. Would something like this be possible? I currently have a VBA which deletes the row if not not todays date but I would like to break it down further by if today date and not between essentially 5-6 pm then delete row. thank you very much in advanced.