+ Reply to Thread
Results 1 to 3 of 3

userform webbrowser to preview HTML code.

  1. #1
    Valued Forum Contributor
    Join Date
    05-14-2009
    Location
    gold coast
    MS-Off Ver
    Excel 2007
    Posts
    843

    userform webbrowser to preview HTML code.

    Hello All,

    What i was thinking of trying to do is. I am sending a HTML E_Mail from vba. i have a string that contains the HTML Code looks like
    Please Login or Register  to view this content.
    just longer.

    What i would like to do is add a microsoft webbrowser to the form and preview this before creating the email.

    is this possible.

    Or can i have it popup in firefox or IE, i found this that if it put the string in the page it will display it but without the images(maby they need to be plublished though i dont want to do there.)HTML Preview
    Last edited by D_Rennie; 10-26-2009 at 01:48 AM.

  2. #2
    Valued Forum Contributor
    Join Date
    05-14-2009
    Location
    gold coast
    MS-Off Ver
    Excel 2007
    Posts
    843

    Re: userform webbrowser to preview HTML code.

    I beleve i have found one way of achiving this.

    If i save the string as a text files and rename the extention to .htm i can then open that file like
    Please Login or Register  to view this content.
    in the uerform web broswer and all displayes correctly.

  3. #3
    Valued Forum Contributor
    Join Date
    05-14-2009
    Location
    gold coast
    MS-Off Ver
    Excel 2007
    Posts
    843

    Re: userform webbrowser to preview HTML code.

    This Works.
    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1