+ Reply to Thread
Results 1 to 4 of 4

change email code to use with range instead of sheet

  1. #1
    Registered User
    Join Date
    02-06-2018
    Location
    London, England
    MS-Off Ver
    2007
    Posts
    22

    change email code to use with range instead of sheet

    Good Evening,

    Could I please ask for some help. I have used ZVI's code from another forum which works almost perfectly, but I would like it to email a range B2:O200 instead of the complete sheet

    I am not sure how to modify my existing code to suit the range

    any help would be greatly appreciated

    Please Login or Register  to view this content.

  2. #2
    Forum Expert tim201110's Avatar
    Join Date
    10-23-2011
    Location
    Russia
    MS-Off Ver
    2016, 2019
    Posts
    2,357

    Re: change email code to use with range instead of sheet

    change
    Please Login or Register  to view this content.
    to
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    02-06-2018
    Location
    London, England
    MS-Off Ver
    2007
    Posts
    22

    Re: change email code to use with range instead of sheet

    Hi tim,

    that is perfect many thanks for your time

    if I wanted to add more .CC to the email do I have to add more lines or can I use the same line with multiple emails addresses

    Also is it possiblr to remove the message box saying that email has been sent

    Thanks again

  4. #4
    Forum Expert tim201110's Avatar
    Join Date
    10-23-2011
    Location
    Russia
    MS-Off Ver
    2016, 2019
    Posts
    2,357

    Re: change email code to use with range instead of sheet

    you can use the same line with multiple emails addresses
    comment unneeded lines out

+ 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. VBA code to change a pivot into a range to email out
    By seash in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-31-2017, 02:10 PM
  2. Replies: 0
    Last Post: 07-05-2017, 09:36 PM
  3. [SOLVED] Vba code to copy unique email id data from input sheet to output sheet
    By UPA in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-09-2017, 07:19 AM
  4. Change VBA to allow email code to bring up outlook email before sending it
    By jonvanwyk in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-03-2015, 02:33 AM
  5. Problem using loop for sending excel range in email body using Range to HTML code
    By drajanm in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-24-2012, 03:17 AM
  6. Help modifying code to check for text in a range prior to email sheet.
    By dcgrove in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 07-09-2009, 06:16 PM
  7. Using code to email a sheet but need to strip the code before sending
    By dcgrove in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 02-05-2009, 01: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