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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem with Statusbar

Status
Not open for further replies.

CB06

Programmer
Joined
Dec 17, 2004
Messages
7
Location
FR
Hello!

I would like to write something in the Visio Statusbar when a drawing is created by automation.

I've written:
Set myUIObj = Visio.Application.BuiltInToolbars(visToolBarNone)
Set myStatusbar = myUIObj.StatusBars.ItemAtID(visUIObjSetDrawing)
Set myStatusItem = myStatusbar.StatusBarItems.Add
myStatusItem.ActionText = myText
Application.SetCustomMenus myUIObj
myUIObj.UpdateUI

But it doesn't work... How can I do? Someone has an idea??? Thanks!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top