Home > Javascript, MS Access > MS Access: HTML Editor control to use in forms

MS Access: HTML Editor control to use in forms

February 10th, 2011 Leave a comment Go to comments

If you want to get HTML editor within MS Access form, there are couple of solutions available. The free solution I know is to get Not So Elegant HTML Editor. The problem with this editor is that

  • After looking at this editor, you will never say “so cool”
  • It is good for basic editing but many important functionality like “Table” editing is missing.

When I had to create HTML Editor within MS Access form, I asked the question to myself “Why to reinvent the wheel?” and the solution I came up with has the main benefits

  • It is completely FREE
  • When users will look at it, they will definitely say “so cooooool”.
  • Rich feature set
  • XHTML compliant code will be generated and hence output can be used anywhere.
  • Plugin based architecture can help add extra cool features

Here is a sample of how this editor would look likeAccess HTML Editor

The solution is to use readily available Web based HTML Editor like CKEditor, TinyMCE and embed them into MS Access forms. You can easily communicate between the Web based HTML editor and VBA code using VBA DOM manipulation functions available for Microsoft Web Browser ActiveX Control.

Download:

Click here to download HTML Editor embedded into MS Access form

  1. Markus
    March 1st, 2011 at 11:19 | #1

    Thanks for sharing. The download link is not working. :(

  2. March 1st, 2011 at 15:38 | #2

    Thanks for notifying. I have updated the link.

  3. April 9th, 2011 at 15:42 | #3

    works beautifully however…

    how are you able to print to MS Access reports and have it understand some of the many available formatting options?

    Rich Text boxes linked to the Memo fields only understand a portion of the formatting?

    Is there an active x HTML control you can use on reports that works well in conjuction?

  4. May 29th, 2011 at 04:53 | #4

    Very useful info, I’ve adapted your code for MS Excel 2007 and it works fine!

    Thank you

  5. POL
    May 31st, 2011 at 08:29 | #5

    Sorry but it doesnt work…

    on
    function SetJavascriptData(…)

    v=wbeditor.document.parentwindow.execscript(FunctionName & “()”)

    End Function

    Access Denied

  1. No trackbacks yet.