Hello,
I’m preparing an Excel 2003 file with some controls placed in the first worksheet.
To create the controls I use the “Control Tools” toolbar, that you can obtain clicking on “View” -> “Toolbars” -> “Control Tools” (it’s not the “Forms” toolbar, because I want to use the controls and their methods and properties in the Visual Basic Editor. With the “Forms” toolbar controls, I have tested that it isn’t possible).
To be a little tidy, I wanted to group the controls into frames, so I clicked on “Other controls” button of the “Control Tools” toolbar and selected “Microsoft Forms 2.0 Frame”. Then I put the frame in the middle of the worksheet and added some CommandButton, TextBox and Label controls in the inner of the frame.
My problem is that, when I click on “Exit from project mode” of the “Control Tools” toolbar, the controls into the frame disappear, as the frame rose to the first layer of the z-order.
This is strange, because I created the controls AFTER the frame! I also tried to set manually the z-order of the frame and the controls (the controls on the first layer, the frame on the second one), but it has no effect: during the project mode the controls are correctly over the frame, but, as soon as I exit from the project mode to test them, the frame returns on the first layer, and the controls disappear.
Have you any idea about this strange behaviour and how to solve it?
Thank you very much
I’m preparing an Excel 2003 file with some controls placed in the first worksheet.
To create the controls I use the “Control Tools” toolbar, that you can obtain clicking on “View” -> “Toolbars” -> “Control Tools” (it’s not the “Forms” toolbar, because I want to use the controls and their methods and properties in the Visual Basic Editor. With the “Forms” toolbar controls, I have tested that it isn’t possible).
To be a little tidy, I wanted to group the controls into frames, so I clicked on “Other controls” button of the “Control Tools” toolbar and selected “Microsoft Forms 2.0 Frame”. Then I put the frame in the middle of the worksheet and added some CommandButton, TextBox and Label controls in the inner of the frame.
My problem is that, when I click on “Exit from project mode” of the “Control Tools” toolbar, the controls into the frame disappear, as the frame rose to the first layer of the z-order.
This is strange, because I created the controls AFTER the frame! I also tried to set manually the z-order of the frame and the controls (the controls on the first layer, the frame on the second one), but it has no effect: during the project mode the controls are correctly over the frame, but, as soon as I exit from the project mode to test them, the frame returns on the first layer, and the controls disappear.
Have you any idea about this strange behaviour and how to solve it?
Thank you very much