Hello,
I need a VBA code to open a file in a specific file path, copy the set of the data, paste into another workbook then close that file.
Here's the following criteria:
File path: S:\NPH Accounting\NPH Accounting Department\Allocations\2016\Employee Allocation
- The files in this folder vary month over month (for example "01 Jan Employee Allocations 2016", "02 Feb Employee Allocations 2016", etc)
How can I code this to open the latest file and paste it into my workbook we will call "workbook A"?
Thank you in advance.
I need a VBA code to open a file in a specific file path, copy the set of the data, paste into another workbook then close that file.
Here's the following criteria:
File path: S:\NPH Accounting\NPH Accounting Department\Allocations\2016\Employee Allocation
- The files in this folder vary month over month (for example "01 Jan Employee Allocations 2016", "02 Feb Employee Allocations 2016", etc)
How can I code this to open the latest file and paste it into my workbook we will call "workbook A"?
Thank you in advance.