+ Reply to Thread
Results 1 to 3 of 3

Macro to email -Part of body of email not displaying in body

  1. #1
    Forum Contributor
    Join Date
    07-12-2018
    Location
    South Africa
    MS-Off Ver
    Office 2021
    Posts
    2,739

    Macro to email -Part of body of email not displaying in body

    I have the following macro to attach 2 sheets and to create an email to be sent

    The section below is not appearing in the body of the email


    Please Login or Register  to view this content.
    It would be appreciated if someone could kindly assist me in resolving this



    Please Login or Register  to view this content.

  2. #2
    Valued Forum Contributor
    Join Date
    03-24-2020
    Location
    Thailand
    MS-Off Ver
    Office 2016
    Posts
    897

    Re: Macro to email -Part of body of email not displaying in body

    Try to ad .Value at the end of the reference.
    My suggestion would be to declare the 2 variables first and then in the email body insert the variables.

    Dim eAvailable as Long
    Dim eTotal as Long
    ....
    eAvailable = Sheets("Summary").Range("Q18").Value
    eTotal = Sheets("Summary").Range("P18").value
    ...

  3. #3
    Forum Contributor
    Join Date
    07-12-2018
    Location
    South Africa
    MS-Off Ver
    Office 2021
    Posts
    2,739

    Re: Macro to email -Part of body of email not displaying in body

    thanks your help & input

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Multiple Issues: Macro not opening new email message or email body not updating
    By ratcat in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-24-2020, 09:21 AM
  2. Replies: 0
    Last Post: 02-21-2013, 04:46 AM
  3. Copy part of email body to Excel
    By JuJuBe in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 10-10-2012, 11:15 PM
  4. Export part of email body to spreadsheet
    By JuJuBe in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-05-2012, 06:26 PM
  5. Replies: 2
    Last Post: 08-01-2012, 02:47 PM
  6. Replies: 6
    Last Post: 12-02-2011, 02:14 PM
  7. Hyperlinking part of an email body
    By Macdave_19 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 09-16-2010, 08:44 AM

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