ActiveX
To create an edit cell
At run time,
- If your control contains more than one sheet, specify the sheet with which you want to work by setting the Sheet property.
- Set the Col, Col2, Row, and Row2 properties as appropriate.
- If you are selecting a block of cells, set the BlockMode property to True.
- Set the CellType property to 1 (Edit).
- Specify the case of the characters provided to the cell by setting the TypeEditCharCase property.
- Specify the text alignment using the TypeHAlign and TypeVAlign properties.
- Specify the text orientation of the data in the cell by setting the TypeTextOrient property.
- Set up the cell to appear as a password entry field by setting the TypeEditPassword property to True.
- If you selected a block of cells, set the BlockMode property back to False.