Hi. How can i create a toolbar in MS WORD as such :
Re: Hi. How can i create a toolbar in MS WORD as such :
Re: Hi. How can i create a toolbar in MS WORD as such :
Keeping in mind that I've never done any Office development, it took me about 2 minutes of looking on MSDN to find this.
http://msdn.microsoft.com/en-us/library/scff9c7c.aspx
Re: Hi. How can i create a toolbar in MS WORD as such :
Quote:
Originally Posted by
Pc_Not_Mac
That relates to an add-in for a product that costs US$349. Fine if you want to spend that sort of money but not required to build Office toolbars.
Re: Hi. How can i create a toolbar in MS WORD as such :
Quote:
Originally Posted by
jmcilhinney
Thanks .
How can i import Office instance. ?
Re: Hi. How can i create a toolbar in MS WORD as such :
If you follow the link I provided you'll see the table of contents tree on the left. It has many more branches you can follow to find related information.
Re: Hi. How can i create a toolbar in MS WORD as such :
when i added this line:
Code:
Dim commandBar As Office.CommandBar
i get the error:
Office.CommandBar is not defined
do i need to add some references as we do while working with the excel sheet to remove this error?
please help
Re: Hi. How can i create a toolbar in MS WORD as such :
Quote:
Originally Posted by
HowTo
when i added this line:
Code:
Dim commandBar As Office.CommandBar
i get the error:
Office.CommandBar is not defined
do i need to add some references as we do while working with the excel sheet to remove this error?
please help
If you've started by creating the correct project type, i.e. Word Add-in, then you've already got all the references you need.
Re: Hi. How can i create a toolbar in MS WORD as such :
ok now i am getting an error in this line of the try block:
Code:
commandBar = Me.CommandBars("Test")
the error tells:
'CommandBars' is not a member of 'WordAddIn1.ThisAddIn'
Re: Hi. How can i create a toolbar in MS WORD as such :
Quote:
Originally Posted by
HowTo
ok now i am getting an error in this line of the try block:
Code:
commandBar = Me.CommandBars("Test")
the error tells:
'CommandBars' is not a member of 'WordAddIn1.ThisAddIn'
Again, I've never done any Office development so I'm not 100% sure but, from what I can see, that should be Application.CommandBars rather than Me.CommandBars
1 Attachment(s)
Re: Hi. How can i create a toolbar in MS WORD as such :
i get this when i pressed f5:
Attachment 76425
it means i need to install some components right?
i get this link:
http://www.microsoft.com/downloads/d...displaylang=en
but this is for office 2007 but i use office 2003 and vs 2008......
i cant get a link for the office 2003.....so the link that i gave above,will it work for me?
Re: Hi. How can i create a toolbar in MS WORD as such :