+ Reply to Thread
Results 1 to 4 of 4

Display only active sheet when saving and sending

  1. #1
    Registered User
    Join Date
    07-13-2014
    Location
    Arizona
    MS-Off Ver
    2010
    Posts
    18

    Post Display only active sheet when saving and sending

    Hello,

    I am new to the forum and have a question, I would like to only display the active sheet when I save and send. The code I currently have sends the entire workbook. Where would I put this string? My current code is listed below.
    Please Login or Register  to view this content.
    Any assistance is greatly appreciated.
    Last edited by sacastiglia; 07-19-2014 at 11:04 AM.

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Display only active sheet when saving and sending

    This code creates a new copy of sheet1 in a new workbook.

    Send this copy

    And then discard it.

    Please Login or Register  to view this content.

  3. #3
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Display only active sheet when saving and sending

    Hi, and welcome to the forum. Unfortunately your 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.

    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)
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  4. #4
    Registered User
    Join Date
    07-13-2014
    Location
    Arizona
    MS-Off Ver
    2010
    Posts
    18

    Re: Display only active sheet when saving and sending

    Fixed. Thank you.

  5. #5
    Registered User
    Join Date
    07-13-2014
    Location
    Arizona
    MS-Off Ver
    2010
    Posts
    18

    Re: Display only active sheet when saving and sending

    It did not work when added to the current 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. Renaming Active.Workbook and saving it without saving Macro
    By Djwill in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-04-2012, 03:09 AM
  2. [SOLVED] Automatically Display a data input form when active sheet changes
    By Duncan in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-26-2005, 05:06 PM
  3. Sending active workbook as email
    By bigalmcintyre in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-15-2005, 08:58 AM
  4. Sending active worksheet and renaming
    By Qaspec in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-23-2005, 06:06 PM
  5. sending the active worksheet and an additional new sheet
    By Qaspec in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-01-2005, 11:06 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