?
Solved

Can't exit design mode because control can not be created

Posted on 2010-01-04
13
Medium Priority
?
5,171 Views
Last Modified: 2013-12-20
I have a document with VBA controls in it that I created in MS Word 2003.  After migrating to MS Word 2007, I get the message that "Can't exit design mode because control 'lblEmaillist' can not be created".

After reading through the various forums here and on microsoft.com it seems to be a known problem.  I looked at these articles but am still having a bit of trouble...

http://support.microsoft.com/kb/212559 refers to the same problem in word 2000 but after following the directions I still am getting the problem.

The problem does not occur when I open the document in MS Word 2007 or MS Word 2003.  The problem only occurs when I open click on the link from IE.

I've set up the location as a trusted location in Office 2007 settings so that should not be an issue.

The document in question is being saved in the word 97-2003 format due to the fact that some people here have not upgraded to office 2007.  I tried saving it as a .docm for office 2007 but the error message still came up.

Does anyone have any suggestions?
0
Comment
Question by:wintersilke
  • 6
  • 4
10 Comments
 
LVL 37

Expert Comment

by:Joanne M. Orzech
ID: 26211783
I read something very odd but maybe worth a try:  Set your macro security to as high as you can and test it then.
0
 
LVL 37

Expert Comment

by:Joanne M. Orzech
ID: 26211830
Or it could be a corrupt or missing ActiveX control: http://support.microsoft.com/kb/329810 (I know this is for Word 2000 - but may still be applicable).

You could also try saving the document as an RTF, opening it, and then resaving as a Word doc.
0
 

Accepted Solution

by:
wintersilke earned 0 total points
ID: 26213100
I can't set it as a RTF because the VBA active X content will be lost.  The point of the document's VBA was to provide immediate feedback to the user if invalid data was entered or the document was sent with missing data.  The document also had code to utilize the user's current email client to send out the test request.

I have since found that php is not and will not be installed on that server.

Additionally, the browser window is not able to instance objects.

My solution for this was to write a second VBA word doc that would open in IE.  The secondary doc has shell commands to check what version of MS office the user has and then open my Active X document using their version of winword.

It is not very elegant but it does work.

If anyone else has any other idea that would be more seamless I would be open to them.
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 37

Expert Comment

by:Joanne M. Orzech
ID: 26213188
Sounds like you've found a solution then -- just curious if you tried my other suggestion(s).
0
 

Author Comment

by:wintersilke
ID: 26214758
I did not see specific download for that hotfix outside of office 2000 sp3.  Is there one that I missed?
0
 
LVL 37

Expert Comment

by:Joanne M. Orzech
ID: 26287333
No - but I was thinking if you just deleted the control, saved as RTF, then reinserted the control, it might fix it.
0
 

Author Comment

by:wintersilke
ID: 26287845
I had already tried that and it had not worked.
0
 
LVL 37

Expert Comment

by:Joanne M. Orzech
ID: 26473804
Recommend accepting asker solution #26213100 which would effectively refund all points.
0
 

Author Comment

by:wintersilke
ID: 26476876
I hope I closed the comment right considering the final solution.  Pls let me know if I had not.
0
 
LVL 37

Expert Comment

by:Joanne M. Orzech
ID: 26477049
Well, you're close!  Thanks for trying.  However, the appropriate comment that is the correct solution is comment ID#26213100.  I am posting an objection, and then the moderators can see that the correct solution get's selected.  Not a biggie!

Thanks again wintersilke.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

Microsoft has changed the look and feel of Azure AD and Microsoft account sign-in pages so that you will have a more unified look and feel when moving between the two interfaces.
Windows Explorer lets you open cabinet (cab) files like any other folder. In VBA you can easily handle normal files and folders, but opening and indeed creating cabinet files takes a lot more - and that's you'll find here.
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.
In a previous video Micro Tutorial here at Experts Exchange (http://www.experts-exchange.com/videos/1358/How-to-get-a-free-trial-of-Office-365-with-the-Office-2016-desktop-applications.html), I explained how to get a free, one-month trial of Office …
Suggested Courses

840 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