Hey team! Sorry for the confusing title, my tiny brain cant figure out how to word it. Thank you for reading as well! I see a ton of activity here which is insane. I dont know how some of you guys rip through answers so quickly all day :D :D
TLDR: I have varying dates in column A and need to identify the first entry with todays date and select everything else to the bottom-right/end of the table. Is this possible in VBA?
Anyway so what I have is a table that auto fills based on user emails and its listed by date. The latest entry auto adds to the table as a new row in it. At the end of the day I copy all of this info into a cell of a different sheet which has some VBA and formulas to auto pull info from it to create a presentable email of stats for the day. I want to basically make it so literally all I have to do is download a local copy of the Excel web file, click a button and it does the rest. So I just have to automate the last bit.
Is it possible to make a VBA script that identifies the first column A date cell based on today, then copy everything from that cell in column A, to the very last existing row in, say, column C or whatever. The nature of these entries being done by users means that sometimes when users forget to submit their entries, they wait for the next day and mark the "current date" as yesterday, so technically I cannot rely on each row having todays date exclusively. I've seen up to 5 days old so this is why I was thinking it would be awesome if you could just grab the first cell of todays date, and finish up the range, copy, and paste in a different sheet.
The pasting and switching to sheet bit I can do, I just dont know how I could grab the range based on this issue. Does that make sense?
Here is a screenshot (just a dummy)
Screen Shot 2021-12-28 at 1.14.22 PM.png
Edit: Issue is solved
My end result is this code, which from a different sheet selects all cells from the first entry containing todays date, down to the last row of a specified amount of columns, copies the info, and pastes into a cell from another different sheet
Bookmarks