Copy rows from multiple sheets to new workbook based on today's date

pisanoal

New Member
Joined
Jan 12, 2023
Messages
1
Office Version
  1. 2019
Platform
  1. Windows
Hello folks,

I have a workbook with multiple worksheets that is an operator log. The operators will make entries on the worksheet several times throughout the day. I'd like to utilize a macro that they can run every time they add data that will copy the data into an identical workbook. The original workbook is password protected to prevent other people from making changes, but I need a workbook that I can automatically update from in Power BI. Protected workbooks do not allow this as of yet.

The macro needs to check today's date and either copy any new data from all sheets into the correct spot in the other workbook, or copy the entire row from each workbook that corresponds to todays date, and copy it into the new workbook for the same date record. From the second run of the day to the end, it would be overwriting the existing row with the second option.

I'd love to learn enough VBA to do this myself, but i'm already working on learning Power M and DAX, and i could use a solution faster than i could learn to create it.

Thanks in advance!
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.

Forum statistics

Threads
1,215,482
Messages
6,125,061
Members
449,206
Latest member
Healthydogs

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