I have been asked to write a macro for the attached spreadsheet. This counts the number of days each project remains in a certain status. For it to calculate the days a date
has to be inserted into the column immediately to the right of the column containing a date or a formula that would search for the next occupied cell in the row. So in the first row of this example the macro would need to search the row for the last cell with a blank cell (BB) to its right and then find the first cell in the row with a date (BE) and move it back to the first empty cell right of BC. Searching for best method to perform such a task. Spent all day yesterday reading but still unsure how to approach. Any guidance appreciated!
has to be inserted into the column immediately to the right of the column containing a date or a formula that would search for the next occupied cell in the row. So in the first row of this example the macro would need to search the row for the last cell with a blank cell (BB) to its right and then find the first cell in the row with a date (BE) and move it back to the first empty cell right of BC. Searching for best method to perform such a task. Spent all day yesterday reading but still unsure how to approach. Any guidance appreciated!