Home |
Search |
Today's Posts |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Sorry Gentlemen:
The Code caused the vba sub routine to jump to the vba code of the sheet I'm trying to do the insert & copy too. There is got to be a simple way of cleanning up my original code. It was done by recording a macro by doing the steps manually. "Rick" wrote: Thanks it works ok, except for I want to copy only formula's, how do I alter your suggestion. "Rick" wrote: Dim Cnt As Integer I'm try to insert 5 new rows, then copy the previous row down thru the next 5 rows. I'm have some problem in getting it to work. Need help. Thanks Range("A" & SheetEnd).Select Set CpyCel = EndCel.Offset(-1, 0) Cnt = 5 Do Until Cnt = 0 Selection.EntireRow.Insert Cnt = Cnt - 1 Loop RowStr = "" & CpyCel.Row & ":" & CDec(CpyCel.Row) Selection.EntireRow.Copy |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Need A Macro To Copy Previous Tab to New Tab | Excel Discussion (Misc queries) | |||
Macro to copy previous row and insert two blank rows | Excel Programming | |||
Macro to copy previous row and insert two blank rows | Excel Discussion (Misc queries) | |||
copy from previous page | Excel Programming | |||
add rows with copy format of previous row | Excel Programming |