Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2008
    Posts
    189

    Question Unanswered: How to delete HTML tags from a string?

    Hello,
    I'm looking for a way to remove HTML tags form a Memo field.

    Something like http://www.codeproject.com/KB/asp/removehtml.aspx, but for VBA... or maybe someone has a better code?

    Thank you for your help.
    Saludos,
    pepemosca

  2. #2
    Join Date
    Nov 2004
    Location
    out on a limb
    Posts
    13,692
    Provided Answers: 59
    can you use the replace in memo fields?
    can you use regular expressions in Access VBA, I know they are available in .NET...

    are the HTML tags you wish to remove generic or are they a limited set.
    if they are a limited set you could delete the offending characters doing some replacing, you could find the text using instr

    an alternative could be to display the text in a browser window embedded in you Access form/report..
    I'd rather be riding on the Tiger 800 or the Norton

  3. #3
    Join Date
    Apr 2008
    Posts
    189
    The last idea, is something I didn't thought about.

    Yes, i can replace in the memo field. I'm just looking for some "already done" code.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •