Group:  Microsoft Word » microsoft.public.word.vba.addins

Threads Replies Last Post
7 Pages: 1  2  3  4  5  6  7  
Add in to give right click Capitalisation ?
Hi is there a way to do this in Word fora whole typed word - or indeed to type a line of lower case but make the first letter to be in caps - bit like texting sometimes does thanks ...
4 12/25/2008 9:43:25 PM
How to reflect language changes in Word addin?
Hi all, As topic, how to make Word addin reflect the languages selected? Let say, my word add-in contains two toggle button, "A" button to set language to English(US) and "B" button to set language to English(UK). I've successfully made the add-in to dispressed the button not related to language selected. i.e : if by default, language is English(UK), and then I press "A" button, lang...
2 12/18/2008 7:14:01 AM
Setting default language in Word
Hi all, I want to know whether is it possible to set the default language by code? if yes, can someone provide a way to do this? In my add-in, it will set the other language when I first open MS word. If I create a new document(without closing the first one), the language is set to default language again. How do I set the new document to use my prefered language and not using the def...
5 12/12/2008 7:08:34 AM
Detecting addins that are loaded.
Hi As a background I have code which returns the path of a template in the "addins" collection. This works fine, but to be more specific I only want the path if the template is also loaded. Code snip straight from Help file (Word 2003) ~~~~~~ If AddIns("Dot1.dot").Installed = True Then _ StatusBar = "Dot1.dot is loaded" ~~~~~~ This returns Error 5941, "The requested member of ...
3 11/20/2008 7:01:45 PM
Word API will not launch Word
Hi All, I am using very simple MS Word API code to launch MS Word (2003), and it is only creating the WinWord.exe but does not actually launch MS Word: Private Sub Command1_Click() Dim newApp As Word.Application Set newApp = New Application newApp.Visible = True End Sub This works fine on other machines with MS Word, but there are two machines that just creates the WinWord.exe pr...
8 10/29/2008 3:38:15 PM
Word API will not launch Word
Sorry if this ends up as a duplicate post. I did not see the last post on the forum after posting the first time: Hi All, I am using very simple MS Word API code to launch MS Word (2003), and it is only creating the WinWord.exe but does not actually launch MS Word: Private Sub Command1_Click() Dim newApp As Word.Application Set newApp = New Application newApp.Visible = True End S...
1 10/25/2008 12:03:00 AM
Word Addin with usercontrol hosted in HTML page
Hi everyone I have a word usercontrol hosted in an HTML page. When the page loads with Word 2003 on the client machine - unnecessary menu items are disabled with the commandbar menus. I am now trying to get the same effect if the client has word 2007 loaded. from reading around - it appears I need an addIn class which implements -- public string GetCustomUI(string ribbonId) -- which ...
1 6/22/2007 11:10:00 AM
Developer on VSTO 2005 SE C# for Word and Excel 2007
Hi....!!! Please help me with this problem... I need change the properties of a ribbon created in VSTO 2005 SE for Word and Excel in code C# (code behind) for example the visible property in the button of the ribbon. Next the code of the XML file of the ribbon. <customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui" onLoad="OnLoad"> <ribbon> <tab...
2 6/17/2007 9:26:10 PM
Capture print events in Word 2007
Hi, I am creating an addin and one of the features it needs to do is save a copy of the Word document to an audit trail when the document is printed. Does anybody know how I am able to capture print events within Word 2007? I can't find any information regarding capture events in Word 2007 anywhere Thanks in advance...
3 6/12/2007 10:23:01 AM
How to create a custom wizard template in word
I'm using vs2005 and VSTO 2005 to create Word 2003 and outlook addins ins.I want to create a custom wizard template like resume wizard in word.Also i want to arrange the document layout also.please help me renjucool@gmail.com 00919961002174...
2 6/7/2007 2:17:00 PM
Copy the content of external documet in the active document
Hi to all! I need to do a simple add-in. I want an add-in that takes the content of external document (.doc extension) and put all that content in the document I using now. For examples: I have two files "Test1.doc" and "Test2.doc"; the "Test2.doc" contain the string "blah blah" and "Test1.doc" contain "this is my doc". I open the file named "Test1.doc" and I see only "this is my ...
5 6/6/2007 9:01:00 PM
How to create a MS Word Add in
Hi, I want to create a MS Word Add in which should contain a dropdown menu. I googled for some time to learn how to create a word add- in as i have never done this before. But i could not find a proper article which explains exactly how to create a add-in. Hence can anybody help me in this! Thanks Zaid Papa...
6 5/22/2007 1:59:01 PM
Problem with ComAddin sample code
I'm studying building addins for Word, and have started with the ComAddin sample code provided in KB article Q230689. This is C++ code at the raw COM level. To show the basics all it does is pop up a message box when it is loaded, and create a button in Word, and pop another message box when the button is clicked. That works ok, but then if a document is opened in Word the button stop...
3 5/10/2007 3:00:47 PM
Commandbar for Word Add-in
I am working on a Word Add-in in Visual Studio 2005 (C#, .Net2.0). I know this is a VB newsgroup, but it is the best i could find. For this add-in i need a toolbar, which i create using 'Microsoft.Office.Core.CommandBar'. and '.CommandBarButton'. It does show up nice and events are hooked up without a problem. But I run into problems when I want to change the button state or when en/...
3 5/10/2007 2:30:01 PM
Custom Menu Add-in Not Creating Menu
Hi. I have an add-in with a cutom menu. The menu is created programmatically i.e. not using Customize -> Command. If I use document_new() or document_open() and either create a new document based on the template or open the template as if it were a doc from the filesystem, the menu appears. If I put the template in my startup directory and restart Word the menu doesn't kick in. W...
3 5/2/2007 11:06:25 PM
Word Addin How can I select the using file?
Hi, I'd like to create an Add-in that put the name of the document I using with Word to another external process. I did an Add-in that can start an external process, but I can't get the name of the document I using. Can you help me? thanks...
8 4/23/2007 1:33:56 PM
Word 2003 template running as "AddIn" - strange behaviour
Hi I'm posting in this forum because the problem is only evident when running code from a button in a template loaded as an addin (or from start-up). Code snip from a VBA Form button. ~~~~~~~ 110 sFile = sRootPath & sDocType & "\" & Me.comboBranch & "\" & Me.comboAnswer '111 Me.Hide 112 Documents.Open fileName:=sFile 114 Documents(Me.comboAnswer).Activate '116 Me.Show ~~~~~...
4 4/18/2007 4:27:25 PM
unprotect document macro
I forgot the password of my word document, so i cannot unprotect to edit it. Anybody have a macro that Unproctect Document? ...
4 4/18/2007 12:18:00 PM
Cannot unload/remove add-in
I have a Word add-in that I cannot unload or remove. It is not located in the startup folder but in it's own folder. However I cannot clear the checkmark next to it in the Templates and Add-ins dialog box (I clear it but it is checked again the next time I start Word). And, when that template is selected the Remove button is grayed out. What gives? I am able to unload or remove other te...
3 4/10/2007 1:39:57 PM
Run addin code when a document is closed or minimised
Hello everyone. I am using Word 2007 with a VS2005 VB addin which creates a Corporate Tab on the Word Ribbon. Several of the controls on this tab need to be disabled when there are no documents open or they are minimised. Word starts with no documents open, and the controls in question run the getEnabled callback, this all works fine. When the user opens a document from this tab, Inval...
3 4/9/2007 10:02:17 PM
º£Íâ¾ÆµêÕÛ¿ÛÔ¤¶© Ó¼ÙÆÚ www.cosmosholidays.net | µç»°£º 010-64892689£¬010-64987025
ÄãÖªµÀÈ«Çò6Íò¼Ò¾ÆµêÖ»ÓÐÒ»¸öµØÖ·Â𣿾ƵêÔ¤¶©×¨ÒµÅú·¢ÉÌÖ®Ò» È«ÇòÕۿ۾Ƶê Ó¼ÙÆÚwww.cosmosholidays.netרҵÌṩȫÇò·¶Î§ÄÚ×î¼ÑµÄÐǼ¶¾ÆµêÔ¤¶©·þÎñ£¬ÊÇÒµ ÄÚº£Íâ¾ÆµêÔ¤¶©µÄÅú·¢ÉÌÖ®Ò»¡£ÅÓ´óµÄ¾ÆµêÍøÂç°üÀ¨ÁËÔÚÊÀ½çËùÓÐÖ÷Òª³ÇÊÐÒÔ¼°Å·ÖÞµÄ ÈÈÃŵØÇøµÄС¼Òͥʽ¾Æµê£¬Á¬Ëø¾Æµê£¬»ú³¡¾Æµê£¬¸ßËپƵ꣬ºÀ»ªµ½µÍ¼Û¾­¼Ã¾ÆµêµÈ µÈ¡£ ·Ç³£¾ßÓÐÊг¡¾ºÕùÁ¦µÄ³¬µÍ¼Û¸ñ ƾ½èÓ¼ÙÆÚÏò¾ÆµêÌṩÁËÅÓ´óÊýÁ¿µÄÔ¤¶©ÒÔ¼°ºÍËûÃÇÖ®¼ä½ô...
1 3/26/2007 9:20:57 AM
Help with word macro
After getting totally frustrated and not being able to find the solution for a word macro I am trying to write, I'm back to try again. Some of you might remember my earlier posts and I want to thank those of you who tried to help but none of the code accomplished what I was trying to do. I will try and explain, as best I can, what I am trying to do. Below is a macro I recorded in Word 2007, w...
2 3/25/2007 8:59:19 PM
determine what fonts are in use in document
Hi, i would like to develop a macro to determine what fonts are in use in a Word document (particularly looking for wingdings) - is there any way to do this OTHER THAN visiting every character in the document and checking the font - which is extremely slow. Thanks you...
4 3/23/2007 3:28:10 PM
Method in MS Word?
Hi , Wanted to ask you one question(if you don't mind to answer!)... Wanted to know, which technique is MS Word following to open a doc file? Is it 1.Plain Text 2.Memory mapped files 3.Named Pipes 4.Or some FASTIO/IRP_MJ(DDK level) operation. Thanks in advance bobby ...
1 3/23/2007 11:57:38 AM
How make a toolbar visible only i Word and not in Outlook ?
Using a global Word-template as an Add-in, containing a custom toolbar. Word XP. When starting Outlook, that toolbar is visible - which is not desirable. Is there a nice way using VBA to check if Word is opened directly or from Outlook - and if Outlook do one of these: - Do not activate AddIn, or - Accept the AddIn but do not show that Toolbar. AG/Norway ...
2 3/15/2007 1:41:25 PM
7 Pages: 1  2  3  4  5  6  7  

Home | Search | Terms | Imprint
Newsgroups Reader