data consolidate vba

Scott R

Active Member
Joined
Feb 20, 2002
Messages
493
Office Version
  1. 365
Platform
  1. Windows
I haven't been able to find any reference to controlling the actions in the Consolidate dialog box. I know the basic Range.Consolidate Sources:=
But what about the other actions in that dialog box such as adding/deleting range references?
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
I haven't been able to find any reference to controlling the actions in the Consolidate dialog box. I know the basic Range.Consolidate Sources:=
But what about the other actions in that dialog box such as adding/deleting range references?

If you hover the mouse pointer over the 'Consolidate' button, a dialog balloon will appear and at the bottom you will see 'Tell me more'. Slide the mouse pointer to the 'Tell me more' and click on it. It gives detailed instructions of how to use the 'Consolidate' feature. But it may not be what you expect it to be.
 
Upvote 0
All I've learned so far is that source names are stored in Worksheet.ConsolidatingSources and are indexed, i.e. Sheet4.ConsolidatingSources(1) = string representing the file/rangename source location.

I'm interested in deleting this source with code but don't see that it's possible.
 
Upvote 0
All I've learned so far is that source names are stored in Worksheet.ConsolidatingSources and are indexed, i.e. Sheet4.ConsolidatingSources(1) = string representing the file/rangename source location.

I'm interested in deleting this source with code but don't see that it's possible.

Sorry, I misinterpreted your original post. Do you want to delete the range array of cells from which the consolidation is formed? If you would post the code which you are working with, perhaps we could offer a solution.
 
Upvote 0

Forum statistics

Threads
1,223,898
Messages
6,175,272
Members
452,628
Latest member
dd2

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top