Set a selection of text to bold inside a RichTextBox

大憨熊 提交于 2019-12-06 21:57:34

You do not mention the version of Access, for 2007 (AFAIK) and 2010, you can create a textbox and set the Text Format on the data tab to Rich Text. You can then set the Control Source to:

="The quick <b>brown</b> fox"

In table design, the memo data type has a Rich Text option.


From Rich formatted text that includes data from fields

For a number of reasons the rich text control doesn't support the full range of HTML but rather a limited subset of HTML focused around formatting text. If you stick to the list of HTML tags and attributes below you should be safe:

<font face="Arial Black" size=3 color="#A5A5A5" style="Background-Color:#FFFF00"> 
<strong> 
<em> 
<u> 
<br> 
<div align=right dir=RTL> 
<blockquote> 
<ol> and <li> for number 
<ul> and <li> for bulleted lists
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!