+ Reply to Thread
Results 1 to 4 of 4

Write to attachment before sending as email message

  1. #1
    Registered User
    Join Date
    08-23-2010
    Location
    UK
    MS-Off Ver
    Excel 2003
    Posts
    7

    Write to attachment before sending as email message

    I am using the following code to create an email message with a workbook as an attachment;

    Please Login or Register  to view this content.
    What I am trying to do is open the attachment in the background, (without it being visible), put the value of 'strsub' in the cell Q9 on sheet1, then save the attachment with 'strsub' as the last part of the filename, attach it to the email then delete the file.

    It's also posted elsewhere: http://www.thecodecage.com/forumz/mi...post1055005157 and http://www.mrexcel.com/forum/excel-q...ttachment.html

  2. #2
    Forum Expert Simon Lloyd's Avatar
    Join Date
    03-02-2004
    Location
    locked in the cage
    MS-Off Ver
    All the ones my homepage shows
    Posts
    3,161

    Re: Write to attachment before sending as email message

    Posting this at many different forums at the same time will not get it answered quicker for you, people aren't daft!, they're likely to let someone at one of the other forums you've posted in answer it, and if they all think the same then you wont get an answer.

    You posted this at my forum at exactly the same time as here, didn't even wait for an answer!
    Not all forums are the same - seek and you shall find

  3. #3
    Registered User
    Join Date
    08-23-2010
    Location
    UK
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: Write to attachment before sending as email message

    Solved elsewhere

  4. #4
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Write to attachment before sending as email message

    Thanks Simon.

    Sharky12345,

    If you solve a problem yourself before anyone else has responded, please take a moment to describe your solution, chances are some other member will benefit.
    Last edited by arlu1201; 01-22-2013 at 01:17 PM.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ 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