Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


RichTextBox not trusted in VBA?!

Posted on 2004-11-01
Medium Priority
Last Modified: 2011-10-03

I am trying to insert a RichTextBox control in a Word VBA form. The instant I specify the control location, I get the following warning:

"Microsoft Visual Basic
The subject is not trusted for the specified action"

As a result, the control is not added to my form. Interestingly enough, the same control can be added successfully in VB6. How come only VBA doesn't like the RichTextBox? Is there a security setting that I can change on my machine?

FYI the control is v. 6.0, SP4 and I am running Word 2003, SP1, on XP Professional, SP1.

Thanks in advance.


Question by:valboy
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
LVL 20

Accepted Solution

hes earned 1000 total points
ID: 12465571

Author Comment

ID: 12465810
Thank you, hes, the following solved my problem:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\ActiveX Compatibility\{3B7C8860-D78F-101B-B9B5-04021C009402}

Change the value for Compatibility Flags from 400 to 0.

The only problem is that my interface is supposed to work on 30 client machines and obviously I can't mess with their security settings... Anyway, I am closing the thread. Cheers!

Featured Post

Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

Question has a verified solution.

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

Group policies can be applied selectively to specific devices with the help of groups. Utilising this, it is possible to phase-in group policies, over a period of time, by randomly adding non-members user or computers at a set interval, to a group f…
Here's a look at newsworthy articles and community happenings during the last month.
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …
Starting up a Project
Suggested Courses

636 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