data consolidate vba

Scott R

Active Member
Joined
Feb 20, 2002
Messages
463
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

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
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,215,086
Messages
6,123,043
Members
449,092
Latest member
ikke

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