G
Geoff Cox
Hello,
The code below adds a TextBox (the kind obtained using Control
ToolBox) with the same size and position as the Text Box (as drawing a
shape from the bottom toolbar of PPT and adding a word to it) which it
replaces.
How can I make the MaxLength either a fixed number of characters or
better still large enough to take the varying size of the words in the
Text Boxes?
For the second I need to count the number of characters in each text
box - hints as to how to do this?!
Cheers
Geoff
With oSl.Shapes
..AddOLEObject _
Left:=posLeft, _
Top:=posTop, _
Height:=posHeight, _
Width:=posWidth, _
ClassName:="Forms.TextBox.1", _
Link:=msoFalse
End With
The code below adds a TextBox (the kind obtained using Control
ToolBox) with the same size and position as the Text Box (as drawing a
shape from the bottom toolbar of PPT and adding a word to it) which it
replaces.
How can I make the MaxLength either a fixed number of characters or
better still large enough to take the varying size of the words in the
Text Boxes?
For the second I need to count the number of characters in each text
box - hints as to how to do this?!
Cheers
Geoff
With oSl.Shapes
..AddOLEObject _
Left:=posLeft, _
Top:=posTop, _
Height:=posHeight, _
Width:=posWidth, _
ClassName:="Forms.TextBox.1", _
Link:=msoFalse
End With