Set the MultiLine property to True.i have plenty of text boxes
names:
TEXT BOX NAME:JOG,BLA,GIO,IDEA,LOD,JOK
Those are IN SHEET NAME:"ID NO"
i Have attached cells to text boxes
how to assign macro for this text boxes?
word wrap=true
locKed=true
My suggestion requires no code... you are supposed to change that property in the Properties window for the TextBox (turn on Design Mode, right click the TextBox, select Properties from the popup window that appears).Can I get complete code.iam a biginner to vba..
How to lock text box through code?
Can I use code in sheet or module?
My suggestion requires no code... you are supposed to change that property in the Properties window for the TextBox (turn on Design Mode, right click the TextBox, select Properties from the popup window that appears).
Sub Cronical_Click()
With ActiveSheet.TextBoxes
ActiveSheet.TextBoxes.Locked = True
ActiveSheet.TextBoxes.LockedText = True
End With
With ActiveSheet
.Range(Array("TBA,TBB,TBC,TBD,TBE,TBF,TBR,TBL")).Select
.Selection.ShapeRange.TextFrames.WordWrap = msoFalse
.TextBoxes.Protect = "loka"
End With
End Sub