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

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"

Forum statistics

Threads
1,224,820
Messages
6,181,154
Members
453,021
Latest member
Justyna P

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