+ Reply to Thread
Results 1 to 8 of 8

Excel VBA: Sending multiple attachments to Thunderbird (code to only send 1 file so far)

  1. #1
    Registered User
    Join Date
    07-11-2018
    Location
    Maryland, USA
    MS-Off Ver
    2013
    Posts
    4

    Excel VBA: Sending multiple attachments to Thunderbird (code to only send 1 file so far)

    Hello,

    I want to send multiple files with VBA to Thunderbird. So far, everything works fine, but only for ONE file. I am trying to find what the separator symbol would be, kinda like email separators ";" (if I can do such thing).

    The example belows works for one file. basically, I'd like to change "FakeFile1" for "FakeFileCombined". I'd just would like to edit the line before the last line to make it work. I feel like I'm missing something pretty simple and obvious. I'm a google person, not a programmer... be merciful!

    Can anyone help me out?
    Thanks!


    Please Login or Register  to view this content.
    Last edited by AliGW; 07-12-2018 at 08:58 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,421

    Re: Excel VBA: Sending multiple attachments to Thunderbird (code to only send 1 file so fa

    Welcome to the forum!

    Unfortunately, our post does not comply with Rule 3 of our Forum RULES. Use code tags around code.

    Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Click on Edit to open your thread, then highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here

    (This thread should receive no further responses until this moderation request is fulfilled, as per Forum Rule 7)
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    07-11-2018
    Location
    Maryland, USA
    MS-Off Ver
    2013
    Posts
    4

    Re: Excel VBA: Sending multiple attachments to Thunderbird (code to only send 1 file so fa

    I can not edit this post to add [CODE] tags, I get the following message:
    "You are not allowed to post any kinds of links, images or videos until you post a few times."

    Could you please fix it for me?

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,421

    Re: Excel VBA: Sending multiple attachments to Thunderbird (code to only send 1 file so fa

    You should not get that message when trying to edit your post - what are you doing? Did you not just select the text and click on # on the toolbar?

    I will do it for you this time - you must do it yourself in future.

  5. #5
    Registered User
    Join Date
    07-11-2018
    Location
    Maryland, USA
    MS-Off Ver
    2013
    Posts
    4

    Re: Excel VBA: Sending multiple attachments to Thunderbird (code to only send 1 file so fa

    This is what I did, I selected my text and clicked the # symbol (wrap code) but it wouldn't let me save.

    Thank you!

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,421

    Re: Excel VBA: Sending multiple attachments to Thunderbird (code to only send 1 file so fa

    That's odd - should have worked. Anyway, done now.

  7. #7
    Registered User
    Join Date
    07-11-2018
    Location
    Maryland, USA
    MS-Off Ver
    2013
    Posts
    4

    Re: Excel VBA: Sending multiple attachments to Thunderbird (code to only send 1 file so fa

    Well... I guess sometimes you just need a good night of rest to find easy solutions:
    I found a way to fix this with using a space first and then a comma between each file: " ,"

    If someone ever looks for it, here is a fully working code for multiple pdf attachments to Thunderbird:
    (sorry administrators, I'd put my whole code, but once again the forum won't allow me to post my entire module code for some reason: "You are not allowed to post any kinds of links, images or videos until you post a few times.")

    Please Login or Register  to view this content.

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,421

    Re: Excel VBA: Sending multiple attachments to Thunderbird (code to only send 1 file so fa

    Thanks for posting the solution.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ 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. [SOLVED] Macro in Excel to send emails in outlook sending hyperlinks but need attachments
    By L_Misty in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-04-2017, 02:19 PM
  2. Replies: 0
    Last Post: 05-31-2016, 04:45 PM
  3. Send multiple emails with different attachments if attachments found
    By AnkitJain in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-05-2015, 05:35 AM
  4. I send email using Lotus from Excel but how to send from Thunderbird?
    By EvelynLoh in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-04-2015, 11:31 PM
  5. Sending Email with Multiple Attachments from Excel
    By Lisa4legin in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 03-29-2013, 03:24 PM
  6. Code to send attachments to mail id s listed on excel sheet
    By chaitanya051 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-10-2010, 04:20 AM
  7. send mail from excel 2000 with multiple attachments
    By ...Patrick in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-20-2006, 07:15 AM

Tags for this Thread

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