I have recorded a macro to consolidate my data and it works well on my machine, but the code looks for the Workbook to be on my Desktop
How do I change the code that different people can use the Workbook?![]()
Range("A1").Select Selection.Consolidate Sources:= _ "'C:\Documents and Settings\My Machine\Desktop\[Consolidate.xls]Data'!R1:R65536" _ , Function:=xlAverage, TopRow:=True, LeftColumn:=True, CreateLinks:= _ False
Bookmarks