Hi Cooper
The trouble with recording macros is that the VBA is written with absolute references...so if you're first step is to select cell A6 and then insert a row below it then the VBA will look something like;
Having said that recording macros is a good way to find out how to do things programatically but the key is to then be able to manipulate the recording;
When you click on a cell it becomes the "active" cell. So the macro needs to take the active cell, go down (offset) one row and then insert a row. The next bit of code does the same thing but does it relative to the cell you clicked on...
All you need to do now is to copy the code above into a sub-routine and assign it to your button.
A
Bookmarks