Lindsay0385
New Member
- Joined
- Dec 21, 2016
- Messages
- 30
Hi - I'm working on a spreadsheet and need help. I have Cell F30, set to be numeric data validation, specifically a number greater than or equal to 1. Here's what I'm trying to do...
If someone uses the form and enters a 1 in Cell F30, I would like nothing to be done.
If someone puts a 2 in Cell F30, I would like the spreadsheet to copy Rows 40-51 and paste once, inserting the copied rows directly below Row 51.
If someone puts a 3 in Cell F30, I would like the spreadsheet to copy Rows 40-51 and paste twice, inserting the first copied rows below Row 51, and then the next paste below that previous paste.
And so on.
It would be awesome, if it could automatically run as soon as a value is entered in F30, but if not, I can add a button with instructions.
Is this at all possible? Usually I start with recording a macro and then edit to my hearts desire, but I don't know how I could setup this macro via recording.
Thanks,
Lindsay
If someone uses the form and enters a 1 in Cell F30, I would like nothing to be done.
If someone puts a 2 in Cell F30, I would like the spreadsheet to copy Rows 40-51 and paste once, inserting the copied rows directly below Row 51.
If someone puts a 3 in Cell F30, I would like the spreadsheet to copy Rows 40-51 and paste twice, inserting the first copied rows below Row 51, and then the next paste below that previous paste.
And so on.
It would be awesome, if it could automatically run as soon as a value is entered in F30, but if not, I can add a button with instructions.
Is this at all possible? Usually I start with recording a macro and then edit to my hearts desire, but I don't know how I could setup this macro via recording.
Thanks,
Lindsay
Last edited: