+ Reply to Thread
Results 1 to 3 of 3

Attach excel workbook and email

  1. #1
    Registered User
    Join Date
    05-09-2013
    Location
    Toronto
    MS-Off Ver
    Excel 2003
    Posts
    56

    Attach excel workbook and email

    I have macro that i use to email by curent workbook. But when i email the attachment comes as book1. I want it to state the name of the Excel file. Below is the coding
    HTML Code: 

  2. #2
    Registered User
    Join Date
    05-09-2013
    Location
    Toronto
    MS-Off Ver
    Excel 2003
    Posts
    56

    Re: Attach excel workbook and email

    anyone ???

  3. #3
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,197

    Re: Attach excel workbook and email

    Hi, buwa84,

    you copy the first sheet to a new workbook where the name in Book1. In order to change that name you would need to save the newly created workbook or maybe go a different way and delete all other sheets form the workbook, send the workbook and then directly close without saving. And I doubt that FullName which includes the drive and the folder to the workbook shoulöd be part of the new name.

    Another problem appears with my version which won´t allow me to have 2 workbooks with the same name open.

    Ciao,
    Holger
    Use Code-Tags for showing your code: [code] Your Code here [/code]
    Please mark your question Solved if there has been offered a solution that works fine for you

+ 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. Save workbook, attach it to outlook email, close workbook?
    By Jasonhouse in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-27-2014, 11:52 PM
  2. Launch email and attach open workbook to email?
    By mlefkowitz in forum Excel General
    Replies: 0
    Last Post: 09-11-2012, 02:01 PM
  3. Send email and attach a different workbook
    By donsls in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 04-28-2010, 02:07 PM
  4. Email workbook AND attach a separate file to the email
    By sgreni in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-15-2009, 06:48 PM
  5. Replies: 1
    Last Post: 01-19-2006, 09:45 PM

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