Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2011
    Posts
    7

    Bold portion of text in memo field.

    I'd like to set the value of a memo field on a form so that part of it is in bold. For instance, I want to say:

    [memo_control] = "This is not bold" & "this is bold" & "this is not bold"



    How do I do that in VBA?

    Kent

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,822
    Review http://www.techrepublic.com/blog/mso...-and-2010/4795

    I think if you want to set formatting with VBA, textbox needs to be set for Rich Text and then use HTML code tags in the VBA.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 20
    Last Post: 09-06-2011, 12:39 PM
  2. Pasting formatted text into memo field
    By joekuhn in forum Access
    Replies: 0
    Last Post: 07-08-2011, 02:01 PM
  3. Highlight text in memo field
    By silverspr in forum Programming
    Replies: 2
    Last Post: 03-27-2011, 04:58 PM
  4. Need help with Memo field text format
    By sprovoyeur in forum Access
    Replies: 1
    Last Post: 05-14-2010, 08:03 AM
  5. Replies: 9
    Last Post: 07-21-2006, 05:17 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums