Hi Alan,
The project is simple. Our team consists of 16 team members.
Our team leader imports system generated data into the zMaster.xlxm file populating columns B, C and D. The file he imports has nearly 1000 lines daily.
He then runs a macro to populate column N with the names of the team members. Column A populates automatically just a serial number.
He then distributes the work to all the 16 members by running the macro which I used from the following site and you helped modify.
https://stackoverflow.com/questions/...-a-column?rq=1
The above macro also populates the column F.
Once the work is distributed, team members completed their tasks and populate columns G to K and Column M
Later in the evening the team leader then runs the following and consolidates the work. That way he knows the work that is completed.
Previously all this was done with MS Access. Our office recently had new hardware installed and for financial reason decided not to have MS Access and so we had to come up with this solution.Code:Sub BringInAllCompletedData() Call SortAllFiles Call LoopThroughDirectory Call UpdateDateInSheet1ColK Call UpdateOriginalData Call ClearSheet1 End Sub
I had to run the macro SortAllFiles because for some reason, if sorting was not done data was not being imported into the zMaster.xlsm
Now it is all working well. I will try and put it all in one macro later down the track.
I hope this explanation has helped you understand my project.
One small question please. How do I modify the macro to use a template named template.xlsm placed within a folder in the same folder instead of creating a xlsx file?
https://stackoverflow.com/questions/...-a-column?rq=1
The path were the template is, is ThisWorkbook.Path & ""Template”\”Template.xlsm
Alan, thank you for all your encouragement and feedback.




Reply With Quote
Bookmarks