Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Can someone show me how the results from the following code can be pasted all
at the same time instead of pasting in one cell at a time. Dim J As Integer For J = 1 To 2 Worksheets("main").Range("B" & 17 + J).Value = Evaluate("=SUMPRODUCT((AGTHistory!A1:A11000=A" & 17 + J & ")*(AGTHistory!C1:C11000=Main!B5),AGTHistory!K1:K1 1000)") Worksheets("main").Range("C" & 17 + J).Value = Evaluate("=SUMPRODUCT((AGTHistory!A1:A11000=A" & 17 + J & ")*(AGTHistory!C1:C11000=Main!B5),AGTHistory!L1:L1 1000)") Next J End Sub Thanks for all your help |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Paste and Paste Special No Longer Working - Excel 2003 | Excel Discussion (Misc queries) | |||
In Excel: add a Paste-Special Option to paste IN REVERSE ORDER. | Excel Worksheet Functions | |||
Excel cut/Paste Problem: Year changes after data is copy and paste | Excel Discussion (Misc queries) | |||
How do I capture user paste action and convert to Paste Special | Excel Programming | |||
Macro to Paste to specific line, and continue to Paste each time on next row not over | Excel Programming |