Hi all,
I'm currently doing a course on Macro's by Leila and can currently only do very basic macros.
I have a monthly task where at the beginning of each month I need to open an easily located file which has been saved down as the last business day of the previous month.
Within this file I have to look in Column Z to see if any of the values are >0, and if there are, I require all of the values on this row.
Essentially I want to copy over any Rows where there are values in Column Z.
I am trying to create a macro that I can run during the first week of every month that will collate this information (from the previous month only) and add to a single spreadsheet hub.
Can somebody please assist me or point me in the right direction as to create such a macro.
Things I am really struggling to find commands for are..
1) I need the macro to search for a file stored in folder named after the previous month, with in each monthly folder it needs to look for the last date saved down in the folder - is this possible?
2) Do the files have to be open to run the macro and if not, how does the macro navigate the monthly evolving file path where the data is stored?
Any assistance with the above would be greatly appreciated.
Thanks.
Whys
I'm currently doing a course on Macro's by Leila and can currently only do very basic macros.
I have a monthly task where at the beginning of each month I need to open an easily located file which has been saved down as the last business day of the previous month.
Within this file I have to look in Column Z to see if any of the values are >0, and if there are, I require all of the values on this row.
Essentially I want to copy over any Rows where there are values in Column Z.
I am trying to create a macro that I can run during the first week of every month that will collate this information (from the previous month only) and add to a single spreadsheet hub.
Can somebody please assist me or point me in the right direction as to create such a macro.
Things I am really struggling to find commands for are..
1) I need the macro to search for a file stored in folder named after the previous month, with in each monthly folder it needs to look for the last date saved down in the folder - is this possible?
2) Do the files have to be open to run the macro and if not, how does the macro navigate the monthly evolving file path where the data is stored?
Any assistance with the above would be greatly appreciated.
Thanks.
Whys