Use VBA to select a range based on the first cell of todays date in Axx and the last row column Fxx?

Status
Not open for further replies.

mvfsullivan

New Member
Joined
Dec 24, 2021
Messages
9
Office Version
  1. 2021
Platform
  1. Windows
Hey all, first of all, you are amazing for helping everyone. There are tons of people helping out and I cant wait to build my skills to the point where I can do the same.

So to super simplify my set up, I have users reporting issues based on date on a file I've been using for months so it has over 4,000 entries. To make my daily stat reporting easier to manage I have a condition that highlights the current day green. I manually paste all of the current days info into a table which pulls stats into a presentable thing I email myself just for some sort of history. I want to automate this last step.

So based on that, is there a way to use VBA to search the table for todays date, select the first cell of the date column A, then finish selecting off the rest of the table? The only issue is some of the entries past the first todays date can sometimes include older dates because the user forgets to report the issue and does it the next day, choosing the previous date as the time of the issue. This is why I am thinking of just grabbing the first todays date and then the last row of column S (which is the furthest column needed to pull stats).

1640715266928.png
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
Status
Not open for further replies.

Forum statistics

Threads
1,214,919
Messages
6,122,260
Members
449,075
Latest member
staticfluids

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