Hi Guys,
Need of a macro code to Insert a new row and copy data from above row only if it has formulas.
Any help is here much appreciated.
Thanks
Mysore
Hi Guys,
Need of a macro code to Insert a new row and copy data from above row only if it has formulas.
Any help is here much appreciated.
Thanks
Mysore
Excel's TABLE function does this for you without the need of a macro. Click inside your table and press CTRL-L to start the TABLE/LIST wizard, let it convert your data to a table.
Now, when you click inside the table, an "expansion row" is offered to you below the table. IF you type into ANY cell in that row, the row will expand to permanently become a part of the TABLE and all formulas and formatting are copied instantly from the row above, just like you want.
Try that.
_________________
Microsoft MVP 2010 - Excel
Visit: Jerry Beaucaire's Excel Files & Macros
If you've been given good help, use theicon below to give reputation feedback, it is appreciated.
Always put your code between code tags. [CODE] your code here [/CODE]
?None of us is as good as all of us? - Ray Kroc
?Actually, I *am* a rocket scientist.? - JB (little ones count!)
Thanks heaps. Really helped.
Cheers
If that takes care of your need, please click EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks