Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I got this macro from you disc table . My question is can I add diff
worksheet with diff names and add correspondng rows to that sheet. exp. I have EXIT, ALH,EASY three sheets and I need that corresponding rows to copy to these sheets when I etner Q column. Private Sub Worksheet_Change(ByVal Target As Range) Dim LastExitRow As Long, Cell As Range For Each Cell In Target If Cell.Column = 17 Then ' 17 = Column Q If UCase(Cell.Value) = "EXIT" Then With Worksheets("EXIT") LastExitRow = .Cells(Rows.Count, "A").End(xlUp).Row Cell.EntireRow.Copy .Cells(LastExitRow - (.Cells( _ LastExitRow, "A").Value < ""), "A") Cell.EntireRow.Delete End With End If End If Next End Sub -- pvkkutty new to discussion group however a freequent reader of discussion group posts |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Copy all Rows from Several Sheets to 1 Sheet At Once | Excel Discussion (Misc queries) | |||
Copy rows between different sheets if condition met | Excel Worksheet Functions | |||
Copy data to multiple sheets | Excel Worksheet Functions | |||
Copy date formula to multiple sheets | Excel Discussion (Misc queries) | |||
Copy rows of one sheet into mutiple sheets based on column value | Excel Discussion (Misc queries) |