Solved

Word 2013 crashes on VBA editing

Posted on 2015-01-30
3
231 Views
Last Modified: 2015-02-01
Say, pls see attached document. When trying to edit the textbox control Word just crashes and cannot recover itself... pls assist...
Activities-and-Services-Survey-2015.docx
0
Comment
Question by:shaunwingin
[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
  • 2
3 Comments
 
LVL 76

Expert Comment

by:GrahamSkan
ID: 40579830
There isn't any VBA in the document, however this code works OK for me (Word 2007).
ThisDocument.TextBox1.Text = "abc"

Open in new window

Do you get the same problem with any other documents with ActiveX controls?
0
 

Author Comment

by:shaunwingin
ID: 40582323
Its the control I'm referring to - crashes Word if try edit it and now when just open document word crashes.... I've uploaded the correct file now .dotm - above was the .docx that is created with Save As. Pls rename it to .dotm
B-Z---Retirement-Home-Survey.docx
0
 
LVL 76

Accepted Solution

by:
GrahamSkan earned 500 total points
ID: 40582437
Word refuses to open the document here, reporting 'problems with the contents.''

If you have a backup that you can still open, but has the original problem, I suggest that you try saving it as .rtf. This forces Word to do some rebuilding and it could remove the corruption in doing so. You can save it as a .docx file later.

Otherwise you will have to recreate the document.
0

Featured Post

Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
Cancel future meetings from user mailboxes in Office 365 using Remove-CalendarEvents
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

623 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