+ Reply to Thread
Results 1 to 12 of 12

Need VBA Help! Trying to get worksheet to save and send.

  1. #1
    Registered User
    Join Date
    12-16-2020
    Location
    Texas
    MS-Off Ver
    2013
    Posts
    8

    Question Need VBA Help! Trying to get worksheet to save and send.

    I have an excel worksheet that I'm using as a form - sending to others to fill out and complete information. I have a button that when clicked will automatically bring up an email draft in outlook with my email address in the TO section, and the file is attached.... BUT, it is blank when sent! How can I get it so when others fill it out, it sends the form to me with their information?

  2. #2
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,212

    Re: Need VBA Help! Trying to get worksheet to save and send.

    What is the code this button triggers?

    presumably the attachment is blank before you send it? Not it becomes blank whilst emailed

    why not attach a sample file illustrating the problem.

  3. #3
    Registered User
    Join Date
    12-16-2020
    Location
    Texas
    MS-Off Ver
    2013
    Posts
    8

    Re: Need VBA Help! Trying to get worksheet to save and send.

    Ok sorry - newbie here. The code right now is as follows. It is a blank form when I send it out. The recipients should fill it in accordingly and then press the "email this form" button to email it to me. Everything works, except it just emails it blank to me. Attachment 709254

    Attachment 709255

  4. #4
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,212

    Re: Need VBA Help! Trying to get worksheet to save and send.

    Follow the instructions in the yellow banner, your attachment is invalid and wont open

  5. #5
    Registered User
    Join Date
    12-16-2020
    Location
    Texas
    MS-Off Ver
    2013
    Posts
    8

    Re: Need VBA Help! Trying to get worksheet to save and send.

    See if the attachment now will suffice.
    Attached Files Attached Files

  6. #6
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,820

    Re: Need VBA Help! Trying to get worksheet to save and send.

    Please attach a version of your file which includes the macro you are currently using.
    You can say "THANK YOU" for help received by clicking the Star symbol at the bottom left of the helper's post.
    Practice makes perfect. I'm very far from perfect so I'm still practising.

  7. #7
    Registered User
    Join Date
    12-16-2020
    Location
    Texas
    MS-Off Ver
    2013
    Posts
    8

    Re: Need VBA Help! Trying to get worksheet to save and send.

    Ok what about now?
    Attached Files Attached Files

  8. #8
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,820

    Re: Need VBA Help! Trying to get worksheet to save and send.

    Are the users saving the file after they have completed it? If they don't save it, the macro will simply email you the original blank copy.

  9. #9
    Registered User
    Join Date
    12-16-2020
    Location
    Texas
    MS-Off Ver
    2013
    Posts
    8

    Re: Need VBA Help! Trying to get worksheet to save and send.

    I'm trying to see if theres a way to make it automatically save their input and email to me.

  10. #10
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,820

    Re: Need VBA Help! Trying to get worksheet to save and send.

    Try the attached file. It will save the file to the user's desktop before creating the email.
    Attached Files Attached Files

  11. #11
    Registered User
    Join Date
    12-16-2020
    Location
    Texas
    MS-Off Ver
    2013
    Posts
    8

    Re: Need VBA Help! Trying to get worksheet to save and send.

    I'm not seeing any coding?

  12. #12
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,820

    Re: Need VBA Help! Trying to get worksheet to save and send.

    It is in the worksheet code module. Right click the tab name for Sheet1 and click "View Code".

+ 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. Replies: 16
    Last Post: 10-19-2018, 12:34 AM
  2. Save As PDF each worksheet and send Email
    By Anisusa in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 07-22-2018, 12:14 PM
  3. Send and save VBA Code
    By Sovereignty9 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-21-2016, 12:45 PM
  4. [SOLVED] need to save one worksheet into pdf and send via outlook
    By AWITCHER in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-24-2015, 09:41 AM
  5. [SOLVED] cdo send send mail - getting my external .vbs script directly into a an excel worksheet
    By PieterBlan in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-09-2014, 08:10 AM
  6. Save and Send PDF
    By The Skipper in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-03-2012, 06:08 PM
  7. How could I save as pdf and send email
    By john55 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-27-2011, 05:13 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