Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

msoControlEdit

Status
Not open for further replies.

fergmj

Programmer
Joined
Feb 21, 2001
Messages
276
Location
US
I am wondering if someone can tell me what the members of msoControlEdit are. I am lookig for a way to set the width the parameters and member functions etc.

Here is my code snip below:

Public Sub CreateToolbar()

On Error Resume Next
CommandBars("AP Schedule Tools").Delete
On Error GoTo 0

With CommandBars.Add(Name:="AP Schedule Tools")
With .Controls.Add(Type:=msoControlEdit)
.TooltipText = "Enter firstday of schedule week here"
End With
'There are other thing here in the code that
'create msoControl Buttons
End Sub

----------------

Thanks

Mindy
 
msoControlEdit is a constant and therefore has no members. You can check this in the Object Browser (F2 in the VBE).
It does produce a "text box" of sorts, i.e. for inclusion in a toolbar. Compare it to the TextBox from the Toolbox toolbar and you'll see that this last one offers a host of properties.

IS
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top