MrRajKumar
Active Member
- Joined
- Jan 29, 2008
- Messages
- 291
- Office Version
- 365
- Platform
- Windows
Hello All,
I have a workbook with 500K+ records. In column A has dates with times, ie: 1/1/2024 12:01 AM, 1/1/2024 11:39 PM etc.... They are sorted in ascending order.
What I am trying to achieve is create a separate workbook for each date with the help of VBA.
Data in column A:D
1) Look for A2:ALastRow in the data set.
2). Move each day's data (A:D) to a new workbook.
3). Convert new workbook data to Table format. Default name Table1 will be enough.
4). Save the new workbook in YYYYMMDD format in the folder: Environ("Username")&"\Desktop\Data\"
5). Repeat the process for next date in column A.
I hope my explanation is clear. If not please feel free to ask. Thank you.
I have a workbook with 500K+ records. In column A has dates with times, ie: 1/1/2024 12:01 AM, 1/1/2024 11:39 PM etc.... They are sorted in ascending order.
What I am trying to achieve is create a separate workbook for each date with the help of VBA.
Data in column A:D
1) Look for A2:ALastRow in the data set.
2). Move each day's data (A:D) to a new workbook.
3). Convert new workbook data to Table format. Default name Table1 will be enough.
4). Save the new workbook in YYYYMMDD format in the folder: Environ("Username")&"\Desktop\Data\"
5). Repeat the process for next date in column A.
I hope my explanation is clear. If not please feel free to ask. Thank you.