Hi all,
I'm very new to VBA and am trying out the coding on my own. I have a list of budget files stored in a folder, and I would like open each of them and refer to a specific worksheet name to check if there is any submission.
I need to code such that if there is no entry in the table (i.e. none filled at all from columns C - H and rows 3 - 25), the macro should call out the filename and list them in the macro-run workbook and worksheet. The macro will then loop until it has gone through all the budget files stored in the folder. I am not sure how many budget files there would be in total.
File directory where all the budget files are stored: D:\05. Budget\FY17\Trial\
Worksheet name where departments will submit request = M.Manpower
File directory where the macro will be run from: D:\05. Budget\FY17\Budget Consol.xlsm
Worksheet name for the list of filenames to be called out = None
I have also attached a sample workbook on how the budget file will look like.
Appreciate any help / advice on this. Thanks so much!
Bookmarks