Create a button to insert a new row.

  • Follow


I know Excel can do it; I just don't know how.  In addition, once the new row 
is inserted, I need the formulas to carry into it.

Any help is greatly appreciated!
0
Reply Utf 1/6/2010 6:01:04 PM

I can think of many possibilities, but I'm sure you are thinking of something 
very specific.  Please give more information.

-- 
Ryan---
If this information was helpful, please indicate this by clicking ''Yes''.


"Sharon" wrote:

> I know Excel can do it; I just don't know how.  In addition, once the new row 
> is inserted, I need the formulas to carry into it.
> 
> Any help is greatly appreciated!
-1
Reply Utf 1/6/2010 6:29:01 PM


Assuming you want the inserted row at the cursor location:
Sub InsertIt()
   On Error Resume Next
   Rows(Activecell.Row).Insert
   Rows(Activecell.Row-1).Resize(2).FillDown
   Rows(Activecell.Row).specialcells(xlcelltypeconstants).clearcontents
End Sub

"Sharon" <Sharon@discussions.microsoft.com> wrote in message 
news:497865B1-0DDB-48BB-9813-77A77890AAA2@microsoft.com...
> I know Excel can do it; I just don't know how.  In addition, once the new 
> row
> is inserted, I need the formulas to carry into it.
>
> Any help is greatly appreciated! 

0
Reply Bob 1/6/2010 6:35:34 PM

2 Replies
1478 Views

(page loaded in 0.047 seconds)

Similiar Articles:
















7/24/2012 12:39:42 PM


Reply: