View VBA script of .doc file in MS Word 2010 - vba

How can I view VBA script of .doc file in MS Word 2010?

It's not a programming question. Find the office 2010 equivalent to "Tools"->"Macro"->"Visual Basic Editor".

In "customize ribbon" I had to check the "developer tools". After that the developer tab appeared, and it has all the functions I need.

Related

Customize ribbons for every MS Word document

I am new to development with VBA. I am working on a project based on MS Word macros.
Lately, I have been trying to create ribbons to access certain functionalities, but I have got limited success in it.
I want to customize ribbons using XML which should appear on all MS Word files and not the one I have used to customize ribbon.
Is there any way to create any XML file that can be utilised by all MS word documents without having to customize each one of them.
Thanks..
Regards
The answer for this is essentially the same as for making macros available to all documents:
Store the Ribbon in a template (together with the macros, so a dotm) and load it as an Add-in.
If it should load automatically, that means placing it in Word's STARTUP folder.

Editing the ribbon of an existing Power Point Add-In (to fix display error)

I have been asked to remedy a display error of an already existing Power Point Add-In (error occurs when moving from Office 2007 to Office 365)
See picture below
I need to get rid of the parts highlighted by the red boxes.
Primary question: How do I open the add-in-file (I have the original .pptm file) so that I can edit how the ribbon is displayed?
My Background: I know VBA very well but have never done XML-development of the ribbon before.
A pptm file uses the Open Packaging conventions of the Office Open XML specification. Open the pptm with WinZip or 7-zip, or rename the .pptm to .zip, and browse the contents. You should find a file within the zip-file called something like CustomUI.xml or CustomUI14.xml, although the exact name can be anything, and will be specified in the .rels file in the root of the file (there can be 2 files, one for Office 2007 and later ribbons, and one for Office 2010 and later, in which case the 2007 version is ignored in 2010 and later).
Once you've found the file, extract a copy, make your edits in any text editor, and then copy the file back into the pptm, replacing the existing ribbon customization file.
Then load the pptm, and check your changes were successful.
PowerPoint add-ins don't show their code in the VBE, by default, although macro-enabled presentations do. If it is an add-in, you may need to tweak the registry in order for the add-in project to display. See this article for details: How To View Your PowerPoint Add-in VBA Code Inside The Visual Basic Editor

Save a Powerpoint 2013 Presentation as a Webpage

Up until Powerpoint 2013, we were able to design Sharepoint Webpages / Portals in Powerpoint, hyperlink to images, and save these into Sharepoint as an HTML webpage saved via Microsoft Powerpoint, they have now removed this feature in Powerpoint 2013. We are in search for a new simple solution for Sharepoint Page design.
Does anybody know a workaround to this issue? It has grounded our sharepoint updates to a halt, and we don't exactly have access to advanced coders
EDIT:
Its worth mentioning that the tools we have access too are
MS Office 2013 Suite
Sharepoint Designer 2010
Sharepoint 2010
Access 2010
This is not possible natively in Powerpoint 2013.
Link: Discontinued or changed features in PowerPoint 2013

How to add a Word add-in 2007 to a particular word 2007 document

I have created a Word add-in which would load data in custom ribbon from external web service. I need to have that add-in in a document so that It can populate the data only on that document. I don't want to have application level add-in because It will try to load data for any other word document user might create. I want to do this as this document would serve as a template for other documents. Is this possible?
If the above is not possible, how do you actually install the word-2007 add-in. I see this link. Is this the way one should do it?
I am using VS 2010 Premium edition on Windows 7. I also have Word 2007installed in my machine.
You can use Visual Studio to create a document- or template- level addin.

control to display docx (word files) and xls (excel files ) inside vb.net form

which are the control used to display word files and excel sheets inside vb.net forms ?
(i have already added reference lib.)
Platform: Vb.net (framework : 3.5)
language : visual basic
You should be able to display word and excel files in Visual Basic using Microsoft's WebBrowser control. You can find more information and example code here:
http://support.microsoft.com/kb/243058
Jeff