What’s happened to Excel 5 Dialog Sheets?
Excel 5 Dialog Sheets and their Controls have been
absorbed into the Excel ’97 Object Model and hidden (by default) in the
Object Browser listing.
To display all objects, press F2 when you are in the VBE
to see the Object Browser. Then right click on the Classes listbox and
enable Show Hidden Members.
You can count all Excel 5 Dialog Sheets in the current
workbook by
dialogsheets.count
To retrieve the text in an editbox in a dialogsheet, use
dialogsheets(1).editboxes(1).text
So, they have not disappeared, Microsoft still has
legacy support for them, but prefers not to advertise the fact.
|
Why are there two Toolbars containing form controls?
When you see a list of Toolbars in Excel’s View,
Toolbars, you will see the Forms Toolbar and the Controls Toolbox.
The Forms Toolbar holds the controls that complement
Excel 5 Dialogsheets (legacy).
The Controls Toolbox holds new controls which complement
the VBA UserForms (a.k.a Forms 2.0). VBA Userforms can additionally hold
ActiveX controls.
On the other hand, items in the Controls Toolbox cannot
be placed on Charts while items from the Forms Toolbar can.
|