+ Reply to Thread
Results 1 to 5 of 5

Method "AddPicture" of object "InlineShapes" failed - but only one 1 computer

  1. #1
    Registered User
    Join Date
    06-20-2012
    Location
    Northern Ireland
    MS-Off Ver
    2010
    Posts
    17

    Method "AddPicture" of object "InlineShapes" failed - but only one 1 computer

    Hi All,

    I would appreciate some guidance here if anyone is willing...

    I have a script that runs perfecly well on everyone's comouter in my company execpt 1 person. For that one person they get the runtime error above (error -2147467259 (80004005)).

    Here what the script should do...

    It should go to the footer. Look for "XXX" and replce it with a small logo.

    Like I said, it works every time on everyone else's computer so I don't think there's anything wrong with the code. I'm wondering if there is something wrong with the user's setup.

    What happens with this user is this (when I step into the code)...

    The code finds the footer, then it adds the logo to the TOP LEFT of the HEADER. Then the error message appears.

    Here's the code...

    Please Login or Register  to view this content.
    However, if I change the inlineshapes line to...

    Please Login or Register  to view this content.
    Does anyone have any suggestions on what is going on?

    Many thanks in advance.

    Andre

  2. #2
    Registered User
    Join Date
    06-20-2012
    Location
    Northern Ireland
    MS-Off Ver
    2010
    Posts
    17

    Re: Method "AddPicture" of object "InlineShapes" failed - but only one 1 computer

    Anyone....Please?

  3. #3
    Forum Guru Izandol's Avatar
    Join Date
    03-29-2012
    Location
    *
    MS-Off Ver
    Excel 20(03|10|13)
    Posts
    2,581

    Re: Method "AddPicture" of object "InlineShapes" failed - but only one 1 computer

    This forum is for Excel VBA - perhaps you may ask a moderator to move the question into the Word programming area.

  4. #4
    Registered User
    Join Date
    06-20-2012
    Location
    Northern Ireland
    MS-Off Ver
    2010
    Posts
    17

    Re: Method "AddPicture" of object "InlineShapes" failed - but only one 1 computer

    Thanks for that, but according to the heading of the forum which says...

    Excel programming / VBA / Macros

    I would have thought that this falls into the last two categories of this forum (unless it's supposed to be Excel programming / Excel VBA / Excel Macros, in which case I have misunderstood).

    That said, if moderators think that this would be better placed in the Word forum and I can get an answer there then please feel free to move.

  5. #5
    Registered User
    Join Date
    06-20-2012
    Location
    Northern Ireland
    MS-Off Ver
    2010
    Posts
    17

    Re: Method "AddPicture" of object "InlineShapes" failed - but only one 1 computer

    Now I see it, the forum header BEFORE the Excel Programming... says Excel Help.

    Mods - Can this then please be moved into the Word forum or shall I just post a link to this?

+ 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. Method "Add" of object "ChartObjects" failed
    By praftery in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-25-2016, 06:45 AM
  2. "The "sheets" method from the "_Global" object have failed."
    By mankit87 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-08-2011, 08:53 AM
  3. [SOLVED] What is Error "Method "Paste" of object "_Worksheet" failed?
    By vat in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-17-2006, 04:10 PM
  4. Interactive Chart/ "Method Cells of object '_global' failed"
    By Sibilia in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-01-2005, 02:05 PM
  5. [SOLVED] "GoalSeek method of Range object failed" error message
    By Fixit_Steve in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-13-2005, 04:06 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