Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here





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




RE: msoControlEdit

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.


Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close