+ Reply to Thread
Results 1 to 8 of 8

Macro to update excel data table in power point

  1. #1
    Valued Forum Contributor
    Join Date
    03-28-2014
    Location
    Kuala Lumpur, Malaysia
    MS-Off Ver
    Excel 2016
    Posts
    702

    Macro to update excel data table in power point

    Hi,

    I have 4 worksheets in workbook which contains different data table.

    e.g.
    Sheet1 Product Name ("A2:A20") vs Product Y ("B2:B20") & chart
    Sheet2 Month("A2:A20") vs Sales quantity ("B2:B20") & Chart
    Sheet3 Data table
    Sheet4 Data table (2)

    Excel data table will be updated by user using macro and I want to make it auto updated in presentation slide (PowerPoint) as well.

    I have tried in PowerPoint with Insert > Object > Create file from > Link but not helpful as it only applicable for one worksheet. Only the last worksheet saved in excel will be linked to presentation slide.


    Is there anyone can help to create VBA code to solve it?
    Last edited by Faridwahidi; 07-09-2014 at 12:10 AM.

  2. #2
    Valued Forum Contributor
    Join Date
    03-28-2014
    Location
    Kuala Lumpur, Malaysia
    MS-Off Ver
    Excel 2016
    Posts
    702

    Re: Macro to update excel data table in power point

    Hi,

    Can anyone help me?

    Attached herewith the sample of workbook,

    Instead of updating the exisiting pptm. can anyone help to crete presentation directly from excel by using CreateObject("Powerpoint.Application")
    Attached Files Attached Files
    Last edited by Faridwahidi; 07-09-2014 at 12:17 AM.

  3. #3
    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

    Re: Macro to update excel data table in power point

    have a look to the attached file and copy the attached file on your drive and try it

    Please Login or Register  to view this content.
    Attached Files Attached Files
    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.

  4. #4
    Valued Forum Contributor
    Join Date
    03-28-2014
    Location
    Kuala Lumpur, Malaysia
    MS-Off Ver
    Excel 2016
    Posts
    702

    Re: Macro to update excel data table in power point

    Hi Naveed,

    Thanks for help me.

    There is an error on myShapeRange.Select


    Please Login or Register  to view this content.
    and one more thing, if possible chart to be Embeded instead of created as picture. in order to allow user edit in case of wrong data found during presentation.
    Last edited by Faridwahidi; 07-09-2014 at 04:01 AM.

  5. #5
    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

    Re: Macro to update excel data table in power point

    regarding error i already test 3 to 4 times for me nothing is showing as error

    regarding next query i will update that give me some time

    --> if the suggestion and answer u feel nice and good please click on * Icon and leave ur comments to that post.

  6. #6
    Valued Forum Contributor
    Join Date
    03-28-2014
    Location
    Kuala Lumpur, Malaysia
    MS-Off Ver
    Excel 2016
    Posts
    702

    Re: Macro to update excel data table in power point

    Hi Naveed,

    I think it could be due to setting,

    Insted of addding Microsoft PowerPoint 15.0 Object Library in Tools > References, Is there any setup for ppt object need to be added?

    Befoere I add-in Microsoft PowerPoint 15.0 Object Library it does not run, Then after adding it runs but stop at myShapeRange.Select

    Really appreaciate your assistance, I will also try to run it at another Desktop to see the result.
    Last edited by Faridwahidi; 07-09-2014 at 05:09 AM.

  7. #7
    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

    Re: Macro to update excel data table in power point

    I think that will not work in MS-Office Version 2013 , i mostly worked on 2007 & 2010 only.

    if u need still any assitance regarding that plz ask expert, moderators i am sure they will help you perfectly

    Please dont forget give reputation points(click on * and leave your comments at particular post).

  8. #8
    Valued Forum Contributor
    Join Date
    03-28-2014
    Location
    Kuala Lumpur, Malaysia
    MS-Off Ver
    Excel 2016
    Posts
    702

    Re: Macro to update excel data table in power point

    Hi naveed,

    I have added reputation to you,

    Thanks for willing to assist me, hopefully you can provide Embedded chart later on. I will try to ask some one else on this issue.

+ 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. [SOLVED] Help Needed : How to link excel table with power point table
    By Elangovan89 in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 03-11-2014, 12:52 PM
  2. Copy graph from Excel to Power Point & update it automatically
    By zuppi in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-06-2012, 10:19 AM
  3. Replies: 1
    Last Post: 03-30-2006, 11:30 AM
  4. Create/Update Excel Objects in Power Point
    By cl in forum Excel General
    Replies: 0
    Last Post: 06-27-2005, 06:05 AM
  5. Create/Update Excel Objects in Power Point
    By cl in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-27-2005, 06:05 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