+ Reply to Thread
Results 1 to 3 of 3

Auto delete physical row after past 24 hours.

  1. #1
    Registered User
    Join Date
    04-13-2020
    Location
    USA
    MS-Off Ver
    2013
    Posts
    3

    Auto delete physical row after past 24 hours.

    Greetings,

    I have been trying to search on Google how to accomplish this, found the similar one, but cannot find exactly what I need.
    I have a temperature sensor that feed the data every 2 minutes into the spreadsheet, looks like this.

    Screenshot_2.jpg

    Ideally, I want the row that is past 24 hours (based on the timestamp starts from B2 and down) to be deleted, and the next row will move up.
    This way, I will always maintain 720 count of rows.

    The other script I found only delete the value, but the cell is not moving up, so I will have a lot of blank space.

    Kindly advise if it is possible to do

    Thank you.

  2. #2
    Forum Expert
    Join Date
    11-24-2013
    Location
    Paris, France
    MS-Off Ver
    Excel 2003 / 2010
    Posts
    9,831

    Arrow Re: Auto delete physical row after past 24 hours.


    Hi,

    according to your explanation use the Rows.Delete method as explained in VBA help …

  3. #3
    Registered User
    Join Date
    04-13-2020
    Location
    USA
    MS-Off Ver
    2013
    Posts
    3

    Re: Auto delete physical row after past 24 hours.

    Quote Originally Posted by Marc L View Post

    Hi,

    according to your explanation use the Rows.Delete method as explained in VBA help …
    Thank you for your reference, I did try to find the answer beforehand, but I'm not that knowledgeable to combined multiple scripts tips into 1 working script.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Auto delete info of a cell after 24 hours
    By Santy4tas in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 08-25-2021, 04:42 AM
  2. Auto Scheduling of volentary overtime past normal working hours
    By Draylob in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-16-2018, 07:42 PM
  3. Replies: 5
    Last Post: 04-13-2017, 11:05 AM
  4. Rolling Tracker - Auto delete cells as a date is past
    By cab1979 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-06-2015, 06:43 AM
  5. Summing values for past 24 hours
    By bobhearn11 in forum Excel General
    Replies: 2
    Last Post: 01-08-2010, 04:03 AM
  6. Adding past 24 hours
    By CaimanReid in forum Excel General
    Replies: 2
    Last Post: 08-20-2009, 10:55 AM
  7. excel 2002 help to auto-delete past dates
    By chetman in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 01-23-2009, 05:21 PM

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