Quantcast
Channel: Excel Help Forum - Excel Programming / VBA / Macros
Viewing all articles
Browse latest Browse all 50194

Delete data in cells (A10- A50) based on value (1 - 40)

$
0
0
Hi
I am after a way to delete data in a coloum lets say A10:A50 based on an input in say B10 that ranges from 1 to 40.

What I would like is that - if the value of B10 is 20 I would like data to remain in A10:A30
- if the value of B10 is 5 I would like data to remain in A10:A15
- and so on and so on

this is a simplified version of what will be happening and I will need to replicate this many times over on many sheets. 7 times on 12 sheets to be exact, with a range more like A10:J100

Any help would be appreciated.

Viewing all articles
Browse latest Browse all 50194