swartzfeger
New Member
- Joined
- May 23, 2022
- Messages
- 17
- Platform
- Windows
- MacOS
Let's say I have 90 rows of data, A2:A91, and I have a cell C2 that is always changing, telling me how many rows I should have, let's say C2 = 50.
How do I write the VBA to tell it to delete any row after A51?
The number imported into A will always be changing, as will the actual number of rows needed in C2, so I'm looking for an easy way to make this idiot proof for the user without having to sort and filter.
Thank you so much for any pointers!
How do I write the VBA to tell it to delete any row after A51?
The number imported into A will always be changing, as will the actual number of rows needed in C2, so I'm looking for an easy way to make this idiot proof for the user without having to sort and filter.
Thank you so much for any pointers!