Is it possible to refer to the properties of an object by name, perhaps as if they were part of an array? e.g.
Window.Properties("Caption"
= "Data Window"
Window.Properties("Height"
= 400
Window.Properties("Visible"
= True
The context:- I'm creating an Excel data browser with a number of windows in which to display different charts, data sheets, etc, and I was looking for a tidy way of managing their properties. I thought rather than using a massive long batch of code, I would create a reference table in Excel from which I can read each time I wanted to refresh the window properties. This would make the window properties more accessible and editable.
Window.Properties("Caption"
Window.Properties("Height"
Window.Properties("Visible"
The context:- I'm creating an Excel data browser with a number of windows in which to display different charts, data sheets, etc, and I was looking for a tidy way of managing their properties. I thought rather than using a massive long batch of code, I would create a reference table in Excel from which I can read each time I wanted to refresh the window properties. This would make the window properties more accessible and editable.