Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Copyi8ng format after row insertion
I written code to insert a row. I am wanting to copy the
formatting of the row directly above the row I just inserted (in the code below, row 34). Here is the code, can someone please assist? Thanks. Private Sub FXFE_Exp_Click() Rows(34 + 1).EntireRow.Insert End Sub |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Copyi8ng format after row insertion
Private Sub FXFE_Exp_Click()
Rows(34 + 1).EntireRow.Insert Rows(34).Copy Rows(35).PasteSpecial Paste:=xlFormats Application.CutCopyMode = False End Sub -- Regards, Tom Ogilvy "Jeff" wrote in message ... I written code to insert a row. I am wanting to copy the formatting of the row directly above the row I just inserted (in the code below, row 34). Here is the code, can someone please assist? Thanks. Private Sub FXFE_Exp_Click() Rows(34 + 1).EntireRow.Insert End Sub |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
automatic insertion of row | Excel Worksheet Functions | |||
Row Insertion | Excel Discussion (Misc queries) | |||
Row Insertion Problem | New Users to Excel | |||
Automatic row insertion | Excel Discussion (Misc queries) | |||
Rows Insertion | Excel Worksheet Functions |