+ Reply to Thread
Results 1 to 3 of 3

Cell value in HTMLBody

  1. #1
    Forum Contributor mcinnes01's Avatar
    Join Date
    05-25-2010
    Location
    Manchester
    MS-Off Ver
    Excel 2003 & 2010
    Posts
    449

    Cell value in HTMLBody

    Hi,

    I am trying to move away from the message body format in my email scripts; to using a HTML body. In many of the email script I have, the email body is personalised or includes data from the spreadsheet. I just wanted to know how I can do this in HTMLBody. I understand HTML at a basic level, just not sure how to refer to cells values in it.

    This is an example email body I have:

    Please Login or Register  to view this content.
    Last edited by mcinnes01; 03-15-2011 at 10:39 AM.

  2. #2
    Forum Expert snb's Avatar
    Join Date
    05-09-2010
    Location
    VBA
    MS-Off Ver
    Redhat
    Posts
    5,649

    Re: Cell value in HTMLBody

    Dive into the use of With... End With.



  3. #3
    Forum Contributor mcinnes01's Avatar
    Join Date
    05-25-2010
    Location
    Manchester
    MS-Off Ver
    Excel 2003 & 2010
    Posts
    449

    Re: Cell value in HTMLBody

    Seem to have learnt HTML quite quickly my only issue now is, I have used <H3> for bold titles, but I want the resulting cell value on the same line but in the body text formating. This has worked my title is Larger and bold and the body text is smaller and not bold, but the body text is on the line below the title and I want it on the same line.

    This is an example:

    Please Login or Register  to view this content.
    after the close </H3> this goes back in to the body text, but it seems to put it on the next row.

    DIVISION -
    SHRPY
    This was my full email in HTML:

    Please Login or Register  to view this content.
    Last edited by mcinnes01; 03-14-2011 at 08:06 AM.

+ 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