Ark68
Well-known Member
- Joined
- Mar 23, 2004
- Messages
- 4,616
- Office Version
- 365
- 2016
- Platform
- Windows
I am struggling to find a vba solution for a task I need to do with a range of cells in my worksheet. Part of the problem will be trying to explain.
Consider this sample of data that prior code produces.
My goal is to to eliminate any values in the cells except those immediately preceeding and proceeding an empty unshaded cell.
I think what I am aiming for is this ...
The values in this range are dynamic, and can be an any combination.
Consider this sample of data that prior code produces.
wsop 22.0327.xlsm | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
H | I | J | K | L | M | N | O | P | Q | |||
15 | Vacnacy | Vacnacy | Vacnacy | HPE | HPL | HPL | ||||||
DISPATCH |
My goal is to to eliminate any values in the cells except those immediately preceeding and proceeding an empty unshaded cell.
I think what I am aiming for is this ...
wsop 22.0327.xlsm | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
H | I | J | K | L | M | N | O | P | |||
16 | Vacnacy | HPE | HPL | HPL | |||||||
DISPATCH |
The values in this range are dynamic, and can be an any combination.