This study details the development of a VBA module for Microsoft Excel designed to automate the preparation of data for import into a web portal, streamlining the payroll process. The module automates the transfer, transformation, and completion of employee data from an Excel workbook named "Tabela" to a target workbook "NovObracun." Specific rows and columns are selected based on criteria defined in a sheet named "SVO." Beyond data transfer, the module transforms labels, shifts values to align with specific requirements, and enriches the data with employee codes extracted from the "SZ" sheet. It also manages leave and holiday data, calculates absences, and formats employee codes to meet length constraints. By automating these tasks, the VBA module aims to reduce the potential for human error and improve efficiency in data preparation.
|