Office Add-Ins (Word)/Templates/Excel?

D

DMc2004

Hi

Currently trying to develop some Addins/Templates for Microsoft Word.
Basically I am having problems with getting the ideal functionality that I
would like to use.

I am using Microsoft Office 2003 Professional and Visual Studio Tools for
Office 2005 on a Windows XP Professional System.

I know how to create templates within Microsoft Word and also know how to
create Add-Ins for Microsoft Excel using VBA.

My first question is why can you code events with Add-Ins with Excel, for
example as soon as the workbook opens you activate a form. But with Templates
within Microsoft Word none of the Document_Open and AutoExec events seem to
work?

My next question relates to Visual Studio Tools for Office. I have tried to
develop an Add-In for Word and when I try to register the DLL I get the error
message:

demo.dll was loaded, but the DllRegisterServer entry point was not found.
This file cannot be registered.

What exactly is wrong?
 
D

Doug Robbins - Word MVP

To have something happen when a document is created from a template, the
macro needs to be named Autonew. Or, in the Document_New event.

--
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
 
D

DMc2004

This is okay but....

In an Excel Add-In i could create a custom prodecure that could create a
toolbar as soon as the application starts and and customises itself to the
users profile. ie hiding buttons that are not needed, using dots I can not
seem to do this. (even placing in the Startup folder.
 
D

Doug Robbins - Word MVP

Certainly can. See the article "Toolbars and Word 2007" on fellow MVP
Graham Mayor's website at:

http://www.gmayor.com/Toolbars_in_word_2007.htm

Don't be put off by the reference to 2007 in the title. The article
contains detailed instructions for creating toolbars in earlier versions
(which can then be made use of in 2007.
--
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
 
D

Doug Robbins - Word MVP

That was not posted by me.

--

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP
 
D

Doug Robbins - Word MVP

I also did not post that.

--

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP
 
R

Rob Chandler [MVP]

Doug its happening through all the Newsgroups. We are ALL being spoofed :-(
Lets hope this guy finds something else to occupy his time soon.
Rob
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top