Solved

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

Posted on 2013-07-01
3
718 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
How to get Spreadsheet Compare 2016 working with the 64 bit version of Office 2016
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…
This Micro Tutorial well show you how to find and replace special characters in Microsoft Word. This is similar to carriage returns to convert columns of values from Microsoft Excel into comma separated lists.

763 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