Results 1 to 3 of 3

Getting Error while extracting body of the email from Outlook 2013 using Excel VBA

Threaded View

Naveed Raza Getting Error while... 10-13-2016, 04:34 PM
Norie Re: Getting Error while... 10-13-2016, 05:10 PM
Naveed Raza Re: Getting Error while... 10-14-2016, 10:47 AM
  1. #1
    Valued Forum Contributor Naveed Raza's Avatar
    Join Date
    11-04-2012
    Location
    India, Hyderabad
    MS-Off Ver
    Excel, Access 2007/2010
    Posts
    1,338

    Getting Error while extracting body of the email from Outlook 2013 using Excel VBA

    Hi All,

    i am getting error "The Attempted Operation failed. An object could not be found" at last line on below code and i am unable to understand why its thronging an error.

    can anyone please guide me on this.

    Note: MS Excel 2013 version

    Sub Extract_Data_From_Email()
    Dim objNS As Outlook.Namespace: Set objNS = GetNamespace("MAPI")
    Dim olFolder As Outlook.MAPIFolder
    Set olFolder = objNS.GetDefaultFolder(olFolderInbox).Folders("Harish Nirni")
    Attached Images Attached Images
    Thanks - Naveed
    -----------------------------
    If the suggestion helps you, then Click * to Add Reputation
    To Attach File: Go Advanced>>Manage Attachments>>Add Files (In Top Right Corner)>>SelectFiles>>.........Locate Your File(s)>>Upload Files>>Done (In Bottom Right)
    1. Use [code] code tags [\code]. It keeps posts clean, easy-to-read, and maintains VBA formatting.
    2. If you are happy with a solution to your problem, mark the thread as [SOLVED] using the tools at the top.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Excel & Outlook 2013 - Import email body lines into columns
    By DoodlesMama in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-12-2016, 03:57 PM
  2. Replies: 0
    Last Post: 09-13-2015, 04:43 PM
  3. Run-Time Error 4065 - Pasting Copied Data from Excel to Outlook Email Body
    By jtn260 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-25-2014, 11:03 AM
  4. vba pull data from outlook body of email through email or subject of mail into excel
    By breadwinner in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-01-2014, 04:37 AM
  5. export outlook 2007 email into excel with subject and body of email
    By akulka58 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-25-2013, 02:37 PM
  6. Replies: 2
    Last Post: 08-01-2012, 02:47 PM
  7. Outlook Email Body to Excel
    By Sciortmj in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-14-2012, 02:10 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