Blanchetdb
Board Regular
- Joined
- Jul 31, 2018
- Messages
- 164
- Office Version
- 365
- Platform
- Windows
Hello
I have a workbook with multiple worksheets,
I would like to utilize one command button that would clear the content within a row (Column A to Column AA) if the value in Column E of that row is blank. Once the data is cleared, the remaining data would move up to the next blank cell in Column E
I can't have the entire row deleted because I need a formula that resides in Column J to remain for future entries.
example
Worksheet 1
A B C D E F G H I J
I have 12 similar worksheets with the same configuration as above but with different number of entries in each and are entitled differently based on the Branch name.
One Command Button would do the following.... search each worksheet for rows where the cell in Column E is Blank; IF blank, the content of each cell in that row from (Column A) to (Column I) would be cleared and the remaining data would move up (so, row 5 would now become row 4 AND Row 8 would now become row 7).
Can this be done?
I am able to delete rows where the cell in Column E is blank, but it also removes the formula at the end. Also, I would like one Command Button to do this operation on all sheets at one time since they are configured the same other than the sheet name.
thanks
Dan
I have a workbook with multiple worksheets,
I would like to utilize one command button that would clear the content within a row (Column A to Column AA) if the value in Column E of that row is blank. Once the data is cleared, the remaining data would move up to the next blank cell in Column E
I can't have the entire row deleted because I need a formula that resides in Column J to remain for future entries.
example
Worksheet 1
A B C D E F G H I J
Start Date | End Date | Area | Process# | Branch | Title | Manager | Advisor | Last updated | |
2023-07-01 | 2024-04-01 | West | 12345 | Operations | =F3&" / "&A3 | ||||
2023-07-12 | 2024-04-01 | Atlantic | 23598 | =F4&" / "&A4 | |||||
2023-07-14 | 2024-06-02 | Ontario | 26589 | Science | =F5&" / "&A5 | ||||
2023-07-16 | 2023-10-11 | West | 23652 | Policy & Programs | =F6&" / "&A6 | ||||
=F7&" / "&A7 | |||||||||
2023-07-24 | TBD | Quebec | 36598 | HR | =F8&" / "&A8 |
I have 12 similar worksheets with the same configuration as above but with different number of entries in each and are entitled differently based on the Branch name.
One Command Button would do the following.... search each worksheet for rows where the cell in Column E is Blank; IF blank, the content of each cell in that row from (Column A) to (Column I) would be cleared and the remaining data would move up (so, row 5 would now become row 4 AND Row 8 would now become row 7).
Can this be done?
I am able to delete rows where the cell in Column E is blank, but it also removes the formula at the end. Also, I would like one Command Button to do this operation on all sheets at one time since they are configured the same other than the sheet name.
thanks
Dan