thanks, steve, that worked (had to change c6 to c5 in your example, but it
gave me what i needed. i tried to combine the steps and didn't have any
luck, so i just did it that way because it worked.
now, back to the question, would you use a formula in each cell, or the vba
code to create the report?
--
Gary
"STEVE BELL" <AYNrand451@verizon.net> wrote in message
news:o5ize.10847$kh3.3416@trnddc03...
>I am no expert, but you can do it more easily and not require selecting.
> This will run faster...
>
> Sheets("Monthly Totals").Range("C5").Offset(c2,
> 0).value=Sheets(c).Range("C6").Value
> --
> steveB
>
> Remove "AYN" from email to respond
> "Gary Keramidas" <GKeramidas@comcast.net> wrote in message
> news:%230c1gB0gFHA.3692@TK2MSFTNGP09.phx.gbl...
>> just wondering what most of you professional coders would use:
>> this vba routine to copy data to a summary sheet
>> ----------------------------------------------------------------------
>> For c = 4 To 15
>>
>> Sheets(c).Range("C6").Copy
>> Sheets("Monthly Totals").Select
>> Range("C5").Offset(c2, 0).PasteSpecial xlPasteValues,
>> xlPasteSpecialOperationAdd
>>
>> Sheets(c).Range("D6").Copy
>> Sheets("Monthly Totals").Select
>> Range("D5").Offset(c2, 0).PasteSpecial xlPasteValues,
>> xlPasteSpecialOperationAdd
>>
>>
>> Sheets(c).Range("E6").Copy
>> Sheets("Monthly Totals").Select
>> Range("E5").Offset(c2, 0).PasteSpecial xlPasteValues,
>> xlPasteSpecialOperationAdd
>>
>> c2 = c2 + 1
>>
>> Next c
>> ------------------------------------------------------------------------
>>
>> or a formula like this in 36 cells on the summary sheet
>>
>> =IF($A$2="Main",Jan!$C$5,IF($A$2="North",Jan!$C$6,IF($A$2="Taylor",Jan!$C$7,IF($A$2="Woodhaven",Jan!$C$8,""))))
>> --
>>
>>
>> Gary
>>
>>
>>
>
>
Bookmarks