Hello,
I need some advise.
I want to automate some data entry in excel. We have a spreadsheet where data is manually entered into cells E15, E16, F15, F16, O15, O16, P15, P16, Y15, Y16, Z15, and Z16. Row 15 is for current month data and row 16 is for prior month data. There are two files that the user will have to open to gather this data. The filename would be something like "Filename_(Mar_Final)" for current month and "Filename_(Feb_Final)" for prior month. The month is the only things that changes in the filename.
I want to write a VBA code that will in the end be embedded into a button that the user would just click and all the information will populate. My concern would be how can I get the right filenames to open month after month?
As in if I am working on March, then I will need to open the Mar_Final file and the Feb_Final file. If I am working on April, I will need the Apr_Final file and the Mar_Final file. What is the best way to accomplish this task?
Let me know if you need any further clarification.
Thank you
I need some advise.
I want to automate some data entry in excel. We have a spreadsheet where data is manually entered into cells E15, E16, F15, F16, O15, O16, P15, P16, Y15, Y16, Z15, and Z16. Row 15 is for current month data and row 16 is for prior month data. There are two files that the user will have to open to gather this data. The filename would be something like "Filename_(Mar_Final)" for current month and "Filename_(Feb_Final)" for prior month. The month is the only things that changes in the filename.
I want to write a VBA code that will in the end be embedded into a button that the user would just click and all the information will populate. My concern would be how can I get the right filenames to open month after month?
As in if I am working on March, then I will need to open the Mar_Final file and the Feb_Final file. If I am working on April, I will need the Apr_Final file and the Mar_Final file. What is the best way to accomplish this task?
Let me know if you need any further clarification.
Thank you