+ Reply to Thread
Results 1 to 3 of 3

Run-time error '-2147417851 (80010105)': Method 'Paste' of object 'Shapes' failed

  1. #1
    Registered User
    Join Date
    12-08-2015
    Location
    London, UK
    MS-Off Ver
    2013
    Posts
    15

    Post Run-time error '-2147417851 (80010105)': Method 'Paste' of object 'Shapes' failed

    Hi all,

    I have posted about this before and also tried all different ways of fixing the problem but am still experiencing this error message. My macro takes information from a CSV file and pastes it into a pre-determined workbook. It them goes about populating charts, sending these to a pre-determined Powerpoint template.

    Since updating from Excel 2010 to Excel 2013 and Excel 2013(365), I've been experiencing many issues with this inherited code. I initially tried to find if this update was the cause of this particular problem but can find nothing to say that it is - although this error has now arisen for both offices using different documents containing the code.

    The line of code causing the bug is highlighted in red below (this is the first subroutine in which it occurs - the code has always used this line of code for pasting). I have edited this line to also be PPSlide.Shapes.Paste.Select to see if that was an issue, but have not used any PasteSpecial, etc functions.

    Please Login or Register  to view this content.
    Any help anyone can give would be truly appreciated - also happy to display more of the code if needed.

    Thanks!

  2. #2
    Valued Forum Contributor bulina2k's Avatar
    Join Date
    11-20-2012
    Location
    Urziceni, Ialomita, Romania
    MS-Off Ver
    2019 and 365
    Posts
    861

    Re: Run-time error '-2147417851 (80010105)': Method 'Paste' of object 'Shapes' failed

    Wild guessing here... Have you tried replacing
    PPSlide.Shapes.Paste
    with
    PPSlide.Paste
    .. and don't forget to have fun!
    Bogdan.

    mark SOLVED and Add Reputation if my answer pleases you

  3. #3
    Registered User
    Join Date
    12-08-2015
    Location
    London, UK
    MS-Off Ver
    2013
    Posts
    15

    Re: Run-time error '-2147417851 (80010105)': Method 'Paste' of object 'Shapes' failed

    Quote Originally Posted by bulina2k View Post
    Wild guessing here... Have you tried replacing
    PPSlide.Shapes.Paste
    with
    PPSlide.Paste
    I get "compile error: method or data member not found" when changing to this... Hmm...

+ 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 'paste' of object 'shapes' failed"
    By Matcham in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-02-2016, 12:19 PM
  2. [SOLVED] getting run time error 1004: method activeprinterof object application failed.
    By mso3 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-22-2015, 03:12 PM
  3. [SOLVED] run time error method value of object range failed
    By gloger in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-27-2015, 04:56 AM
  4. Getting Run time error -2147417851 (80010105)
    By Pavan.Sada.PS in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-18-2014, 08:37 AM
  5. Addon error : Run-time error '1004': Method 'MacroOptions' of object '_Application' failed
    By jtcoleman in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 3
    Last Post: 02-05-2014, 12:23 PM
  6. Excel Checkout throws runtime error 2147417851 (80010105)
    By Tester408 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-03-2013, 06:25 AM
  7. [SOLVED] run-time error, method 'paste' of object - worksheet failed.
    By Carl in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-29-2006, 12:15 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