?
Solved

Rich Textbox in VBA(Excel)

Posted on 2003-02-20
4
Medium Priority
?
2,147 Views
Last Modified: 2012-06-27
I wanted to know if VBA supports RTF Textboxes. I may have to add a activeX control but how do I do that? I looked under additional controls but i didn't see one listed. Any suggestions???
0
Comment
Question by:pstew12
[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
  • 2
4 Comments
 
LVL 5

Accepted Solution

by:
Rhaedes earned 120 total points
ID: 7993252
Yes, VBA supports RTBs - but of course you have to have the OCX installed! If you haven't you might want to consider using a webbrowser control instead, which can do anything a RTB can (including receiving input when set to 'design mode')
Kindest regards,
Rhaedes
0
 

Author Comment

by:pstew12
ID: 7996493
I was playing with the browser control a bit but i couldn't figure out how to open files with it. Can you show me an example?
0
 
LVL 5

Expert Comment

by:Rhaedes
ID: 7998161
Just navigate to the file:

Webbrowser1.navigate2("c:\myfile.txt")
0
 

Author Comment

by:pstew12
ID: 8000472
Fantastic
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

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Suggested Courses
Course of the Month12 days, 17 hours left to enroll

777 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