+ Reply to Thread
Results 1 to 3 of 3

Opening a specific version of Powerpoint

  1. #1
    Valued Forum Contributor Sean Thomas's Avatar
    Join Date
    03-25-2012
    Location
    HerneBay, Kent, UK
    MS-Off Ver
    Excel 2007,2016
    Posts
    971

    Opening a specific version of Powerpoint

    Hi all,
    I have automated an excel workbook to copy various ranges and charts to a powerpoint template.
    This works great on my pc using Excel 2007 & powerpoint 2003
    Now a colleague is running this report. They also have Excel 2007 & powerpoint 2003. Although as they are on a thick client on a server, when they run the code it opens powerpoint 2010.
    It would appear at somepoint the machine had 2010 installed, then uninstalled but there is a reference somewhere that opens ppt docs using the 2010 version installed on the server.

    So my plan was to write some code to open 2003 PP if its available, otherwise use the default version.
    Reason being is that when it opens the template on 2010 and copies the charts from excel as enhanced metafiles it changes the colours.
    If the user opens PP 2003 before running the code it opens the template in 2003 and all the colours are fine.

    Below is the code I have come up with.
    It all works fine except when it opens the 2003 version using the shell command, it takes a while to get the object. So it sits open with a new presentation before updating the slide.
    So I set the Shell command to VBHide but then need to unhide it when the slide is updated.

    It has taken me ages to find this information to get it to work.
    Has anyone got any better solutions?
    Note: my code is currently opening 2007 version as I am using this on my home pc and don't have 2003 installed

    Please Login or Register  to view this content.
    Regards
    Sean

    Please add to my reputation if you think i helped
    (click on the star below the post)
    Mark threads as "Solved" if you have your answer
    (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code:
    [code] Your code here [code]
    Please supply a workbook containing example Data:
    It makes its easier to answer your problem & saves time!

  2. #2
    Valued Forum Contributor Sean Thomas's Avatar
    Join Date
    03-25-2012
    Location
    HerneBay, Kent, UK
    MS-Off Ver
    Excel 2007,2016
    Posts
    971

    Re: Opening a specific version of Powerpoint

    posting on stack overflow to see if I get any response there.

  3. #3
    Valued Forum Contributor Sean Thomas's Avatar
    Join Date
    03-25-2012
    Location
    HerneBay, Kent, UK
    MS-Off Ver
    Excel 2007,2016
    Posts
    971

    Re: Opening a specific version of Powerpoint

    any suggestions?

+ 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. Replies: 8
    Last Post: 09-20-2017, 02:09 AM
  2. Open correct version of Powerpoint with VBA
    By kev_ in forum Excel Programming / VBA / Macros
    Replies: 26
    Last Post: 07-20-2017, 06:07 AM
  3. [SOLVED] Opening Word document and powerpoint through vba
    By grkchakri in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-15-2017, 05:52 AM
  4. Opening a Powerpoint file from Excel
    By lkefas in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-23-2012, 06:11 AM
  5. Opening Hyperlink to Excel from PowerPoint
    By Mordred in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-27-2010, 05:51 PM
  6. Replies: 1
    Last Post: 03-01-2008, 11:05 PM
  7. Opening Powerpoint file from Excel
    By JakeyC in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-29-2005, 07:00 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