+ Reply to Thread
Results 1 to 4 of 4

Optimize Macro for Sending Automatic Email via Lotus Notes

  1. #1
    Registered User
    Join Date
    11-07-2014
    Location
    India
    MS-Off Ver
    2016
    Posts
    88

    Optimize Macro for Sending Automatic Email via Lotus Notes

    Dear Friends

    Need your help. I am looking for a VBA code to send automated email ( taking values and email id from an Excel File) through Lotus notes. The attached macro is working fine but need some changes in it.

    I will be grateful if someone can help in making the required changes in the attached file.

    Current Scenario:

    a) Create an Email in Lotus notes based on given data in excel file
    b) A Popup asking for Word file consisting of message in it.
    c) Send the email taking email ids from excel file and message from the word file.

    Now, I want the following changes to be made in the attached macro file

    a) The current macro is asking a Word File for every email id. For example, If my file is consists of 100 email ids then it will ask for Word file for 100 times. How to remove this? I want the word file to be asked for one time only. And then same message should be used for all the email ids.

    b) Before sending email, It ask for the confirmation. Once again, this confirmation is asked for every single email ids? How to remove this? I don't want any confirmation to send email.

    c) Currently, the macro is taking too much time to process the emails. For one email id is taking approximately one minutes. How to optimize the macro to increase the speed of sending email ids. It is not possible for an users to wait for 100 minutes to send emails to 100 email ids.

    d) Sometimes, the macro get hanged at second line items saying "Microsoft Excel is waiting for another application to complete an OLE action". Please help to fix this problem.

    e) How to optimize this VBA code? Currently it is consuming too much time and memory. User can't work on any other application while running this macro. It is possible to run this macro in the backed, so that the user can work simultaneously on other applications.


    The Macro file is attached with this post for your refernce.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-29-2020
    Location
    NH USA
    MS-Off Ver
    365
    Posts
    2,103

    Re: Optimize Macro for Sending Automatic Email via Lotus Notes

    To prevent the code from asking to confirm each email, you can edit out the three lines below with an apostrophe at each line

    Please Login or Register  to view this content.
    I'll take more time to review it

  3. #3
    Registered User
    Join Date
    11-07-2014
    Location
    India
    MS-Off Ver
    2016
    Posts
    88

    Re: Optimize Macro for Sending Automatic Email via Lotus Notes

    Quote Originally Posted by maniacb View Post
    To prevent the code from asking to confirm each email, you can edit out the three lines below with an apostrophe at each line

    Please Login or Register  to view this content.
    I'll take more time to review it
    Thanks for answering one of my queries.

    Request to help for other queries also. I can understand it will take time and don't worry, this project is not my urgent list. I can wait.

  4. #4
    Forum Expert
    Join Date
    05-29-2020
    Location
    NH USA
    MS-Off Ver
    365
    Posts
    2,103

    Re: Optimize Macro for Sending Automatic Email via Lotus Notes

    I don't have access to LotusNotes and therefore can only make recommendations on untested 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. [SOLVED] sending network path in HTML email via VBA in Lotus Notes
    By BellyGas in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-08-2017, 08:57 AM
  2. Excel macro for sending email using lotus notes
    By ABDULLAHHATMI in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-11-2013, 07:33 AM
  3. HELP: Recode macro for sending email via lotus notes
    By sunilwadhwa in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-26-2012, 02:11 PM
  4. Sending Email through Lotus Notes
    By just_some_guy in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 08-09-2011, 08:12 AM
  5. Sending Excel through email using Lotus Notes
    By mridzuan in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 01-25-2007, 10:29 PM
  6. Body Text properties when sending email through Lotus Notes via Macro
    By PCLIVE in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-21-2006, 11:15 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