Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello,
given Sub mastertest1() Dim rSource As Range Dim rDest As Range Dim rCell As Range On Error Resume Next With ThisWorkbook.Sheets("New IP Office") Set rSource = .Range(.Cells(1, 4), _ .Cells(.Rows.Count, 4).End(xlUp)) Set rDest = .Parent.Sheets("Sheet2").Cells( _ .Rows.Count, 1).End(xlUp).Offset(19, 0) End With On Error GoTo 0 If (Not rSource Is Nothing) And (Not rDest Is Nothing) Then For Each rCell In rSource With rCell If Not IsEmpty(.Value) Then If IsNumeric(.Value) Then .EntireRow.Copy Destination:=rDest Set rDest = rDest.Offset(1, 0) End If End If End With Next rCell End If End Sub How do I make this macro search ws named New Avaya also? Thanks |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
excel seach | Excel Worksheet Functions | |||
Seach & Replace Macro | Excel Programming | |||
Dynamic Seach Values | Excel Programming | |||
seach and replace '(' with an '/' | Excel Discussion (Misc queries) | |||
File name seach within open filetype | Excel Programming |