+ Reply to Thread
Results 1 to 4 of 4

Merging two macros

  1. #1
    Registered User
    Join Date
    07-16-2013
    Location
    Prague
    MS-Off Ver
    Excel 2007
    Posts
    8

    Question Merging two macros

    Hello everyone,

    I need help with merging two macros in one another.

    The first macro extracts XLS* attachments from selected e-mails in outlook and saves them in a specified directory.
    The second macro writes down mail subject, sender and date sent inside a file.

    What I need is a macro that extracts XLS* attachments from selected e-mails in outlook, writes down mail subject, sender and date sent inside the attachment and save it in a specified directory.

    Here is the first code:

    Please Login or Register  to view this content.
    Here is the second code:

    Please Login or Register  to view this content.
    I tried my best and failed. I'm grateful for any help.

    Thanks in advance!

  2. #2
    Forum Expert
    Join Date
    07-15-2012
    Location
    Leghorn, Italy
    MS-Off Ver
    Excel 2010
    Posts
    3,431

    Re: Merging two macros

    did you try adding to the first macro (before end sub)
    Please Login or Register  to view this content.
    If solved remember to mark Thread as solved

  3. #3
    Registered User
    Join Date
    07-16-2013
    Location
    Prague
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: Merging two macros

    Quote Originally Posted by patel45 View Post
    did you try adding to the first macro (before end sub)
    Please Login or Register  to view this content.
    That would probably work in some cases, but ExportToExcel saves the info in a specific file outlookitems.xls

    I need the macro changed a bit so instead it opens the extracted xls attachment, make the modifications there, save and continue the cycle.

  4. #4
    Registered User
    Join Date
    07-16-2013
    Location
    Prague
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: Merging two macros

    Bump.

    this is not too time consuming, just a little missing piece of code.

    Again, thanks in advance for help.

+ 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] Merging two macros in one....
    By jaysakle in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-17-2013, 03:07 AM
  2. [SOLVED] Looking for help merging 2 macros.
    By Xaos in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-26-2013, 07:10 AM
  3. Merging macros together
    By NikonMan in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-27-2013, 08:39 PM
  4. Merging these 2 Macros
    By peterwithingtonuk in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-05-2010, 12:42 PM
  5. [SOLVED] Question about merging macros
    By Greegan in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 01:05 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