11-21-2005, 09:35 PM
I want to make an app that will put source citations into your Word document. I want a toolbar in Word to show up (similar to what Adobe and MathType have) or change the menu have to an entry such as Insert -> Citation...preferably the second one, but either one would do.
Clicking on it would open up a little box that let you pick your style (APA, MLA, etc.), media, and type in your information, and then it would throw it on your page in the proper format.
How would I go about doing that very first step?
11-22-2005, 06:19 AM
The MSO library is (obviously) available in Word as well as Excel, thus the posts related to the CommandBar object in this thread can be easily adapted to your needs.
11-23-2005, 12:00 AM
I may be mistaken, but aren't those for programming within Office? I need a VB6 program to actually do all of the things, right?
I have absolutely NO experience in programming apps for Word...
11-23-2005, 07:45 AM
Scratch that last post...I'm starting to understand I think.
I have a macro in Word that puts in the toolbar that I want. Now...my updated question list:
1) How do I open my VB6 program from VBA?
2) How do I get the toolbar to "stick" every time? How do I get the macro loaded into the Word document and ran?
11-23-2005, 02:25 PM
Sorry, scratch that one, too. I've decided to just go ahead and do everything VBA - it seems to be easier.
11-24-2005, 02:43 PM
You can use your VBA code within the VB6 app if necessary. But if you don't otherwise need to use VB6 then you're doing the right thing.