Data / Consolidate

S

Steph

Any idea why this code wont work?

Set Dest = Worksheets("Sheet2").Range("A3")
Set rng = Worksheets("Sheet1").Range("A3:D" &
Worksheets("Sheet1").Range("C65536").End(xlUp).Row)
Dest.Consolidate Sources:=rng, Function:=xlSum _
, TopRow:=False, LeftColumn:=True, CreateLinks:=False
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top