Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Assume us column B to determine the extent of your data
Assume destination is Book2.xls, first worksheet. Sub CopyTrueRows() Dim rng as Range, cell as Range set rng = Range(Cells(1,2),Cells(row.count,2).end(xlup)) for each cell in rng if cell.offset(0,-1) = True then cell.EntireRow.copy Destination:= _ workbooks("Book2.xls").Worksheets(1) _ .Cells(rows.count,1).end(xlup) end if Next End Sub -- regards, Tom Ogilv -- Message posted from http://www.ExcelForum.com |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Here is a simple formula request from a newb | Excel Worksheet Functions | |||
Needing Help Very Bad | Excel Worksheet Functions | |||
Help a newb.... | Excel Discussion (Misc queries) | |||
excel newb needs some help making multiple sheets communicate for ecommerce project! | Excel Discussion (Misc queries) | |||
i know this has to be so easy -newb | Excel Discussion (Misc queries) |