+ Reply to Thread
Results 1 to 5 of 5

Save excel file w/o prompts before attaching to email

  1. #1
    Forum Contributor
    Join Date
    09-11-2014
    Location
    Eugene, Oregon
    MS-Off Ver
    MS EXCEL 2010
    Posts
    210

    Save excel file w/o prompts before attaching to email

    I need to be able to save a file on our server and have multiple people access this file and fill it out and then click a button on that tab which would then save the file to their local machine and then attach it to an outlook email.

    I have the VBA to attach the file and it attaches but it only attaches the file without the changes and I need it to save so it attaches the file to Outlook with the changes that the person made. I would like to add the code into my existing if possible but I am not versed enough in VBA to do so.

    Please Login or Register  to view this content.

  2. #2
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,014

    Re: Save excel file w/o prompts before attaching to email

    .
    If your present macro code (In your post #1) works as desired, just instruct the users to SAVE THE WORKBOOK BEFORE pressing the button that creates the email.

    Or, if you want to absolutely make certain the workbook is saved before they email it ... place this line of code
    Please Login or Register  to view this content.
    just below the header of
    your email macro ...
    Please Login or Register  to view this content.

  3. #3
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,014

    Re: Save excel file w/o prompts before attaching to email

    .
    If your present macro code (In your post #1) works as desired, just instruct the users to SAVE THE WORKBOOK BEFORE pressing the button that creates the email.

    Or, if you want to absolutely make certain the workbook is saved before they email it ... place this line of code
    Please Login or Register  to view this content.
    just below the header of
    your email macro ...

    Please Login or Register  to view this content.

  4. #4
    Forum Contributor
    Join Date
    09-11-2014
    Location
    Eugene, Oregon
    MS-Off Ver
    MS EXCEL 2010
    Posts
    210

    Re: Save excel file w/o prompts before attaching to email

    Thanks Logit! I thought it would have been more difficult than that but that worked perfect.

  5. #5
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,014

    Re: Save excel file w/o prompts before attaching to email

    .
    You are welcome.

+ 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] How to prevent VBA from attaching a particular file when it generates email
    By bdouglas1011 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-17-2018, 07:41 PM
  2. Attaching an embedded PDF file in my worksheet to a new email
    By AnthonyGFS in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-14-2017, 04:24 AM
  3. [SOLVED] VBA code exporting to PDF but not attaching the file to the email.
    By michelle 1 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 08-24-2016, 03:11 AM
  4. Email (outlook) recipients attaching specific Excel file name.
    By monkeypants in forum Outlook Formatting & Functions
    Replies: 0
    Last Post: 05-13-2015, 07:14 PM
  5. Replies: 11
    Last Post: 07-10-2012, 10:35 AM
  6. Attaching One Worksheet of a File to Email
    By MLCall in forum Excel General
    Replies: 0
    Last Post: 01-17-2012, 12:51 PM
  7. [SOLVED] Excel prompts me to save a copy or overwrite file.
    By Vinny in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 05-20-2005, 11:06 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