Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

  1. hello, try this code it will help you: Private Sub CommandButton1_Click() Application.ScreenUpdating = False 'disable screen update for performance Dim i, j As Integer Dim SheetsCount As Integer SheetsCount = Sheets.Count For i = 1 To SheetsCount - 1 For j = i + 1 To SheetsCount If Sheets(j).NameRead more

    hello,

    try this code it will help you:

     

    See less
  2. This answer was edited.

    Hello,   You need to give access Outlook with VBA, you need to activate the Microsoft Outlook Object Library. To activate it, go to Tools in the VBA editor > References. Activate Microsoft Outlook 16.0 Object Library :     Then in a module use this subroutine: Sub sendAnEmail(ByRefRead more

    Hello,

     

    You need to give access Outlook with VBA, you need to activate the Microsoft Outlook Object Library.

    To activate it, go to Tools in the VBA editor > References.

    Activate Microsoft Outlook 16.0 Object Library :

     

     

    Then in a module use this subroutine:

     

    To test the code, call this code using a buton:

    Test:

    I hope this will help you.

    Good luck!

    See less
Quereact
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.