+ Reply to Thread
Results 1 to 8 of 8

Macro falling down at specific PPSlide.Shapes.Paste.Select

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

    Post Macro falling down at specific PPSlide.Shapes.Paste.Select

    Hi all,

    I've been having some trouble with our company's macro for some time. Generating 30+ PP slides, it is a bit of a monster. Having just resolved reasons why it stopped working for those on Excel 2010 (we've slowly been upgrading to 2013/365), the following code has become a problem for multiple offices.

    Sometimes it works for me if I have just started my computer, but this is the error message that will inevitably occur - always on this slide. Does anyone have any ideas how I can fix this? (code it falls down on highlighted in red)

    Thanks for your help:

    Please Login or Register  to view this content.

  2. #2
    Forum Contributor
    Join Date
    04-20-2015
    Location
    Switzerland
    MS-Off Ver
    2010
    Posts
    312

    Re: Macro falling down at specific PPSlide.Shapes.Paste.Select

    why do you use

    Please Login or Register  to view this content.
    you can remove the Select cause the object should be selected automatically after pasting it
    and even if not you select the sheet and all shapes on it in the next 2 lines anyway

    greets
    Loki

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

    Re: Macro falling down at specific PPSlide.Shapes.Paste.Select

    Thanks Loki,

    I looked to remove them but am now receiving a Run time error 1004 - "cannot start the source application for this project"...

  4. #4
    Forum Contributor
    Join Date
    04-20-2015
    Location
    Switzerland
    MS-Off Ver
    2010
    Posts
    312

    Re: Macro falling down at specific PPSlide.Shapes.Paste.Select

    and the error is not happening when you put the select back?

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

    Re: Macro falling down at specific PPSlide.Shapes.Paste.Select

    Sorry, I didn't write that clearly - I changed back but still this new problem... I think I must've saved something somewhere...

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

    Re: Macro falling down at specific PPSlide.Shapes.Paste.Select

    This is an error some other colleagues have been experiencing for a while (relating to being upgraded to Office 2013...). I think the whole project may be due a recode.

  7. #7
    Forum Contributor
    Join Date
    04-20-2015
    Location
    Switzerland
    MS-Off Ver
    2010
    Posts
    312

    Re: Macro falling down at specific PPSlide.Shapes.Paste.Select

    i would guess the problem is that you not create a new instance of powerpoint instead you are looking for one

    Please Login or Register  to view this content.
    i would instead use

    Please Login or Register  to view this content.

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

    Re: Macro falling down at specific PPSlide.Shapes.Paste.Select

    Thanks. Actually, we have to open up a pre-saved template to export the graphs to. I posted the code here if that helps: http://www.excelforum.com/excel-prog...point-vba.html

    Thank you for all of your help so far...

+ 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. VBA Specific data select and paste across worksheets
    By SamPPG in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-26-2016, 09:26 AM
  2. [SOLVED] Macro to select shapes based on their colour
    By kamazonka in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 11-10-2015, 04:20 PM
  3. Expressing time elapsed as falling between a specific interval
    By BLat in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-17-2015, 05:51 PM
  4. How to select a group of shapes and textboxes with a vba macro in excel Mac 2011?
    By eratosthene in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 06-03-2012, 10:19 PM
  5. Macro to select all shapes (text boxes) in workbook
    By Humahuaca in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 03-28-2012, 04:21 AM
  6. Macro to select all shapes (text boxes) in workbook
    By Humahuaca in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-21-2012, 12:27 PM
  7. Shapes Info macro crashes on Select method.
    By leaning in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-18-2011, 11:37 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