Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Loop Through Sheets, Copy/Paste if Match
I am trying to come up with a way of looping through all B2 cells in all
sheets and comparing the value to the values in a variable range, such as B2:B15, on a specific sheet named Region, and if there is a match, copy paste the entire row (just one row) 2 lines below the match. Challenging? Yes!! Possible? I don't know but I hope so!! For next code below: For Each sh In Worksheets If LCase(sh.Name) < LCase("Sheet1") Then sh.Activate With Stuff End with End If Next sh End Sub Regards, Ryan--- -- RyGuy |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How to create copy & paste loop--rows to new sheets | Excel Programming | |||
Copy and Paste using a loop | Excel Programming | |||
Copy and Paste Loop | Excel Programming | |||
Copy/Paste Loop | Excel Programming | |||
copy and paste loop | Excel Programming |