Home |
Search |
Today's Posts |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Can you help me modify the macro listed below so the range of cells is 90?
The rows go from 10 to 100. Thanks so much. "OssieMac" wrote: Hi Joe, The following copies everything from row 10 down. Hope my assumption is right. You need a range to copy but the destination only needs to be the first cell. Sub movesheet() With Sheets("Sheet1") Range(.Cells(10, "B"), Cells(.Rows.Count, "B")).Copy _ Destination:=Sheets("Test").Cells(3, "C") Range(.Cells(10, "C"), Cells(.Rows.Count, "C")).Copy _ Destination:=Sheets("Test").Cells(3, "G") Range(.Cells(10, "F"), Cells(.Rows.Count, "F")).Copy _ Destination:=Sheets("Test").Cells(3, "F") End With End Sub Regards, OssieMac |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Copy rows from one worksheet automatically, ignore rows that are b | Excel Worksheet Functions | |||
Copy Values From Worksheet to another Worksheet same Workbook | Excel Programming | |||
Find all rows of a color and copy those rows to a new worksheet | Excel Programming | |||
Copy Values from WorkSheet back to Another Workbook Replacing Values in Worksheet | Excel Programming | |||
copy worksheet from closed workbook to active workbook using vba | Excel Worksheet Functions |