+ Reply to Thread
Results 1 to 5 of 5

saving one worksheet only

  1. #1
    Forum Contributor
    Join Date
    05-08-2005
    Location
    Australia
    MS-Off Ver
    excel 2019
    Posts
    112

    saving one worksheet only

    hi
    can someone help me? I need to email an excel worksheet rather than the whole excel work book. any suggestions.
    many thanks
    andrewm

  2. #2
    Registered User
    Join Date
    08-11-2005
    Location
    Netherlands Waddinxveen
    Posts
    81
    Only in VB(A), but I'm not that strong on excel commando's

  3. #3
    Registered User
    Join Date
    08-17-2005
    Posts
    7

    E-mail excel file

    Sub EmailExcelSheet()

    Dim myOutlook As Object
    Dim myMailItem As Object

    Set otlApp = CreateObject("Outlook.Application")
    Set otlNewMail = otlApp.CreateItem(olMailItem)
    fName = ActiveWorkbook.Path & "\" & ActiveWorkbook.Name

    With otlNewMail
    .To = "[email protected]"
    .CC = ""
    .Subject = ActiveWorkbook.Name
    .Body = "your text" & Chr(13) & Chr(13) & "your text" & ActiveWorkbook.Name & Chr(13) & Chr(13) & "Best Regards," & Chr(13) & "your name" & Chr(13) & Chr(13)
    .Attachments.Add fName
    .Send
    End With

    End Sub

    I will use this when I have to send daily our orders by email.

    Regards,
    Maba

  4. #4
    Adam
    Guest

    Re: saving one worksheet only

    When you've got the spreadsheet open, right click on the tab and select
    'Move or Copy' then click 'Create copy' box at the bottom, then select
    the drop down box at the top then select '(new workbook)'.

    This will copy that worksheet into a new workbook which you can then
    email.


  5. #5
    Adam
    Guest

    Re: saving one worksheet only

    When you've got the spreadsheet open, right click on the tab and select
    'Move or Copy' then click 'Create copy' box at the bottom, then select
    the drop down box at the top then select '(new workbook)' then press
    OK.

    This will copy that worksheet into a new workbook which you can then
    email.


+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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