Pheonix2332
New Member
- Joined
- Feb 3, 2021
- Messages
- 20
- Office Version
- 2013
- Platform
- Windows
Hi all, I have previously made a report with a macro based on a single sheet copied from another workbook and created a random sample of cases managers to review. It has worked great but due to a shift in management there has been a slight change in how this needs to be done- instead of daily now done weekly for the past week so my previous code no longer works. Great from my piers point of view as less checks done on their work (potentially) but a headache for me - they want the data to be pulled from multiple sheets in the same workbook that vary by name each week as based on the days date determined from a range in the book the sheets are copied to, and want the report to generate 2 to 3 random cases for each staff ID in the sheet. To add additional difficulty each month the workbook is changed to a new book so will need to take this into account too. Is anybody able to help ? I have code to open the different work book but can’t figure out the code to use the range for the sheets names. I can add the code what I have thus far when in office tomorrow