+ Reply to Thread
Results 1 to 4 of 4

Outlook VBA - Mail to Excel

  1. #1
    Registered User
    Join Date
    02-02-2010
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2007
    Posts
    62

    Question Outlook VBA - Mail to Excel

    Hi,

    I need some help for the below outlook VBA code. The code is working perfectly, but before I run this code, I need to close all the excel files that are open. If I didn't close all the opened excel files, I am getting a message that Log.xlsm is already open and code closes all the opened excel files.

    Is there any tweak or code to open the Log.xlsm file in background without closing other opened excel files?

    Please Login or Register  to view this content.

    All your help will be much appreciated.

    Thank You.
    Last edited by pradeepdeepu_001; 03-08-2017 at 11:38 PM.

  2. #2
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,905

    Re: Outlook VBA - Mail to Excel

    You'll have to add an on error routine to do the check for you.
    A User Defined function that returns a true or false then take the necessary steps
    ---
    Hans
    "IT" Always crosses your path!
    May the (vba) code be with you... if it isn't; start debugging!
    If you like my answer, Click the * below to say thank-you

  3. #3
    Registered User
    Join Date
    01-24-2014
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    1

    Re: Outlook VBA - Mail to Excel

    Hi

    I need sample form in Outlook and it should be like template . This data should stored in MS Excel or Access . Pls help

  4. #4
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,905

    Re: Outlook VBA - Mail to Excel

    @pradeepdeepu_001: did you manage to work it out?
    @ggkrish2004: If you want answers I suggest you ask your own questions in your own post, you can at least make an effort and explain what you want your question is very unexplicit!

+ 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. reply on last sent mail (from excel to outlook)
    By AlexHellier in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-25-2016, 04:55 PM
  2. Reminder mail from excel to outlook
    By burc67 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-03-2016, 09:19 AM
  3. E-mail from excel to outlook
    By rajuganapathy in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-27-2015, 09:02 AM
  4. [SOLVED] Code to send mail copying from Excel to a new outlook mail.
    By paz1987 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-11-2015, 07:54 AM
  5. [SOLVED] screenshot text file and embed in outlook mail through excel with mail info
    By bmbalamurali in forum Excel Programming / VBA / Macros
    Replies: 24
    Last Post: 01-11-2015, 08:21 PM
  6. E-Mail Using Excel VBA & Outlook Error
    By NeedForExcel in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-29-2014, 01:54 AM
  7. [SOLVED] e-mail from excel when outlook is not in use
    By Jignesh Khandwala in forum Excel General
    Replies: 5
    Last Post: 04-07-2006, 05:00 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