Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Microsoft Office tool bars

Posted on 2003-11-06
2
Medium Priority
?
184 Views
Last Modified: 2010-05-03
hey guys, I'm wanting to write a program that working with the Microsoft Office suite that will allow me to add a tool bar to in Office.  I want the tool bar to do things like send documents over the network for document managment and a number of other things.  Any links or code would really help, I've never programed for Office before.


Thanks
0
Comment
Question by:Uzaree
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 76

Accepted Solution

by:
GrahamSkan earned 150 total points
ID: 9700429
Here's your starter for programatically creating a temporary CommandBar and a button on it. It's been tested in Word VBA.

Dim Button As CommandBarButton
CommandBars.Add "MyBar", , , True
Set Button = CommandBars("MyBar").Controls.Add(Type:=msoControlButton)
Button.OnAction = "MyMacro"
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses

715 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question