Solved

Other code editor for Microsoft Word Macros/Forms/ VBA codes

Posted on 2013-07-01
3
680 Views
Last Modified: 2013-07-01
Hello everyone,

Just want to ask as to what I can do on my Word Macro-Enabled Template (*.dotm). I have the template having content controls which are using macros for some automations and some forms I'm printing using the template. I was thinking of having an external Code Editor other than the built-in VBA editor of Microsoft Word so that I can edit the VBA codes outside of Microsoft Word. This is because I have been encountering a not so frequent crash in using MS Word. I experience the MS Word crash when I'm saving the word document and then just a prompt message saying "Path/File Input/Output" is shown. I click the "Ok" button of the prompt box and my Microsoft Word closes itself. It has been recurring for some time now so I was looking for an alternative code editor that I can use to specifically update the Word macros found on my Word Template

So my questions is:
Is there an available code editor that I can use to update my Word Macro-Enabled Template (*.dotm) other than Microsoft Word itself?

BTW I'm using Microsoft Word 2010

Thanks for your help
0
Comment
Question by:mtab
3 Comments
 
LVL 42

Assisted Solution

by:sedgwick
sedgwick earned 250 total points
ID: 39289884
your word does not suppose to crush.
is it possible that your document somehow got corrupted?
can u create new document and copy all the macro code to it and save?
there's no specific vba code editor besides the office built in.
you can use Visual Studio Express for this matter which is free for download.
0
 
LVL 76

Accepted Solution

by:
GrahamSkan earned 250 total points
ID: 39289910
I think the best thing is to fix the Word application problems.Start with the Fix here:
http://support.microsoft.com/default.aspx/kb/921541

You can edit code in notepad if you want. If you have Excel, you can edit it there, and if you set a Reference to the Word Object library in the project, you will have intellisense and F1 help as well.  However getting the changes back into Word will require Word to be running.
0
 

Author Comment

by:mtab
ID: 39292134
@sedgwick - I can confirm that my document template is not corrupted as I can create new word document from it. I can also confirm that my automation macro codes are working just as fine when I have created new word documents from it. I'll try your suggestion about using Visual Studio Express. Thanks

@GrahamSkan - thanks for the links, I'll review and find whether my issue has been resolved already.

Thanks everyone!
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

This article will show you how to use shortcut menus in the Access run-time environment.
In this article we discuss how to recover the missing Outlook 2011 for Mac data like Emails and Contacts manually.
The viewer will learn how to  create a slide that will launch other presentations in Microsoft PowerPoint. In the finished slide, each item launches a new PowerPoint presentation and when each is finished it automatically comes back to this slide: …
Learn how to create and modify your own paragraph styles in Microsoft Word. This can be helpful when wanting to make consistently referenced styles throughout a document or template.

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now