Hi Everyone,
I'm a newbie to VBA, I typically create a Macro and edit it from there, but am having troubles with this one. I'm trying to create a button that will allow the user to 'insert a row' in 3 different sections. At the end of each section I have hidden text that says "Insert Row". An example of what I'm looking for...
I need the macro to look at column B for text "Insert Row" (there are currently 3 cells that contain "Insert Row"; B42, B67, and B92). I then want to copy rows 40, 65, and 90 (so the second row above the row containing "Insert Row") and paste it to the row above that...so pasting to 39, 64, and 89. But the user needs to be able to insert as many rows as they need, so row numbers can't be absolute. Is this possible?
TYIA!
Shelly
I'm a newbie to VBA, I typically create a Macro and edit it from there, but am having troubles with this one. I'm trying to create a button that will allow the user to 'insert a row' in 3 different sections. At the end of each section I have hidden text that says "Insert Row". An example of what I'm looking for...
I need the macro to look at column B for text "Insert Row" (there are currently 3 cells that contain "Insert Row"; B42, B67, and B92). I then want to copy rows 40, 65, and 90 (so the second row above the row containing "Insert Row") and paste it to the row above that...so pasting to 39, 64, and 89. But the user needs to be able to insert as many rows as they need, so row numbers can't be absolute. Is this possible?
TYIA!
Shelly