Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Another way
Dim i As Integer With Sheet2 .Cells(varRow, 1).Value = ActiveSheet.Range("G3").Value .Cells(varRow, 2).Value = ActiveSheet.Range("G4").Value .Cells(varRow, 3).Value = ActiveSheet.Range("Total").Value For i = 4 To 8 Step 1 .Cells(varRow, i).Value = ActiveSheet.Cells(i + 7, "b").Value Next i For i = 9 To 13 Step 1 .Cells(varRow, i).Value = ActiveSheet.Cells(i + 2, "f").Value Next i End Wit -- Message posted from http://www.ExcelForum.com |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
clean up code a little | Excel Discussion (Misc queries) | |||
Clean Up Code - consolidate steps | Excel Discussion (Misc queries) | |||
Trim function doesn't clean out ASCII Code 160 (Space) | Excel Worksheet Functions | |||
Plase help me clean up my code | Excel Programming | |||
=clean(a1) | Excel Programming |