+ Reply to Thread
Results 1 to 4 of 4

Auto Copy Outlookfields into Excel

  1. #1
    Registered User
    Join Date
    10-14-2012
    Location
    Mumbai, India
    MS-Off Ver
    Excel 2007
    Posts
    26

    Auto Copy Outlookfields into Excel

    Hi All,

    Thanks to all the members of this Forum for helping all the people, really appreciate your effort and time.

    In a day i receive approx 500 mails in a day, I need to copy it and paste it on excel to capture outlook fields i.e. Sender, Subject, Date& Time, PFA the excel file for reference.

    Can we autocopy these Outlook fields into excel on regular intervals.

    Appreciate you reply on this mail.
    Attached Files Attached Files

  2. #2
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,919

    Re: Auto Copy Outlookfields into Excel

    I am sure that you can wrap your code in some sort of timing loop, but that means keeping the application open and running at all times. You might do better running the application under the windows task scheduler, You can specify a start time and then run every X hours or minutes thereafter.

    Here's an article to get you started with the task scheduler. It's one of many ways to do it: http://www.utteraccess.com/wiki/inde...a_Macro_to_Run

  3. #3
    Registered User
    Join Date
    10-14-2012
    Location
    Mumbai, India
    MS-Off Ver
    Excel 2007
    Posts
    26

    Re: Auto Copy Outlookfields into Excel

    Hi,


    Will this copy outlook details into excel

  4. #4
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,919

    Re: Auto Copy Outlookfields into Excel

    One problem with the task scheduler is that it is generally ignorant of its environment. You have to do things like specify full path names instead of mapped drive names. It doesn't know where to find Excel, so you have to tell it that too. This is especially true if you are running tasks while the user is not logged in. However, if the user is logged in, it should work. I run a program on a computer that reads a mailbox and produces a report. It runs from the task scheduler on a machine that's left logged in. And, FYI, Outlook is installed on this machine, but is not launched.

    I am not sure if the article makes this clear, but in the script make sure that the path to the Excel executable is correct for your version of Excel.

+ 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. EXCEL 2003 - how to auto copy from one worksheet to another
    By G.S. in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-28-2014, 10:06 PM
  2. [SOLVED] Auto copy data from other Excel files to master file...
    By NeoNirav in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-14-2013, 12:13 AM
  3. [SOLVED] Auto generate graphs in excel and copy them to powerpoint
    By aashr in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-27-2013, 12:49 PM
  4. Auto Save a Copy of Excel Dashboard [Every Hour]
    By Seacucumber in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-17-2012, 07:21 AM
  5. Replies: 0
    Last Post: 04-19-2012, 04:56 AM
  6. Auto copy data to a new excel raw
    By BasilAla in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-30-2009, 05:45 AM
  7. how to auto copy excel cells to outlook email
    By asdfasdf in forum Excel General
    Replies: 1
    Last Post: 07-25-2006, 12:55 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