|
|
|
date: Wed, 4 Jan 2006 15:31:02 -0800,
group: microsoft.public.word.word97vba
back
Re: Execute Toolbar Button Add-In
Thank you very much, Doug. But I'm having trouble understanding...
If I go to Tools>Macros, the 'Macros In' dropdown box shows "TemplateProject
(Add-In PTouch)".
Selecting that gives me a list of Macros above it. I think the one I need is
called "StartPtedit".
If so, how would I word the command similar to your example of
"PDFMaker.ConverttoGelatoPDF". I've tried things like "Ptedit4.StartPtedit"
and "StartPtedit.Ptedit4", but I'm obviously lost cuz I get error msgs re:
missing function or variable.
FWIW, the tlb seems to be stored in a Brother subdirectory.
Thanks again for any help!
Best regards,
John
"Doug Robbins - Word MVP" wrote:
> If the Add-in is a Global Template (stored in the Word Startup folder) its
> commands should be visible under Tools>Macro>Macros when you select the
> template in the Macros in pulldown.
>
> If that is the case, then if you set a reference to the add-in under
> Tools>References in the VisualBasic Editor, you can probably use
>
> Add-in Name.Command
>
> in a macro.
>
> As an example, Acrobat 6 installs an add-in named PDFMaker in the Word
> Startup folder and if you set a reference to PDFMaker in the visual basic
> editor, you can use the command
>
> PDFMaker.ConverttoGelatoPDF
>
> to convert a Word document to a pdf file without using the File>Print dialog
> and selecting the Adobe PDF ptinrer
>
> --
> Hope this helps.
>
> Please reply to the newsgroup unless you wish to avail yourself of my
> services on a paid consulting basis.
>
> Doug Robbins - Word MVP
>
> "John Ciccone" wrote in message
> news:595E83A5-C101-4EDC-85F1-97F2315654E3@microsoft.com...
> > This Brother QL550 label printer adds a button to Word's toolbar. It's
> > also
> > duplicated as an item under the Tools menu. Is there any way of activating
> > this button/menu item via a macro? Recording doesn't register toolbar
> > button
> > click or menu selection.
> >
> > The label printer software doesn't provide for customization.
> >
> > I can't go through File | Print menu or I'll get a Brother error message
> > saying that I have the wrong labels loaded. But that's wrong. However,
> > clicking on the toolbar button or selecting the item in the Tools menu
> > works
> > fine.
> >
> > TIA for any quidance
>
>
>
date: Thu, 5 Jan 2006 16:05:03 -0800
author: John Ciccone
|
|