+ Reply to Thread
Results 1 to 9 of 9

To paste specific data in specific columns and rows to specific table in powerpoint

  1. #1
    Forum Contributor
    Join Date
    09-19-2017
    Location
    London
    MS-Off Ver
    2015
    Posts
    169

    Exclamation To paste specific data in specific columns and rows to specific table in powerpoint

    Hi. I'm new to vba. I'm currently having an issue where I have to update new information in specific presentation slides every month.

    To be specific, I have a new data which has to be updated monthly to a specific powerpoint document. The data which is in certain column and rows (specific ranges) need to be pasted to a specific position (in this case a table) in a specific slide. May I know how? Could anyone help me?

    If so, can the action be automatic? Meaning if I update my excel file, can the content in that powerpoint slide change too?

    Thanks!
    Last edited by ell_; 09-19-2017 at 09:51 PM.

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,165

    Re: To paste specific data in specific columns and rows to specific table in powerpoint

    Hi ell and welcome to the forum,

    Depending on which version of Excel and Powerpoint you have, yes you can LINK the Excel data to PowerPoint. See:

    https://support.office.com/en-us/art...D-8B838CAEF853

    I believe the PowerPoint will look at the current workbook and display the data that currently lives there.
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Forum Contributor
    Join Date
    09-19-2017
    Location
    London
    MS-Off Ver
    2015
    Posts
    169

    Re: To paste specific data in specific columns and rows to specific table in powerpoint

    Hi MarvinP. I would like to know the vba coding instead since I think it would be easier as I have to paste massive amount of data.

    Your assistance is definitely appreciated. Thanks!

  4. #4
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,165

    Re: To paste specific data in specific columns and rows to specific table in powerpoint

    I believe the feature is built into Microsoft Office, where you don't need VBA. You simply build your Powerpoint slides and include a LINK to the Excel worksheet or table or chart that you want to display. Then you go to the Excel file and update it with the latest data. When you do that slide it shows what is currently in Excel.

    Here is another site to explain:

    http://www.wikihow.com/Link-Excel-to-PowerPoint

  5. #5
    Forum Contributor
    Join Date
    09-19-2017
    Location
    London
    MS-Off Ver
    2015
    Posts
    169

    Re: To paste specific data in specific columns and rows to specific table in powerpoint

    The issue is I have up to 100 of slides of with different sets of table and data in my ppt. If I do linking for every slides I believe I will fail to meet my work deadline.

  6. #6
    Forum Contributor
    Join Date
    09-19-2017
    Location
    London
    MS-Off Ver
    2015
    Posts
    169

    Re: To paste specific data in specific columns and rows to specific table in powerpoint

    My macro has to do several things:
    1. Open up existing powerpoint
    2. Copy multiple excel ranges (on 4 different sheets) and paste it as a linked table to different positions in different PowerPoint Slides
    3. Make the data linked and can be automatically updated just like link

    The problem with the coding is:
    1. It is pasted as an object, not a linked table (cannot be updated via excel)
    2. How to alter the position of my pasted data in the ppt slide?

    Here's the code, hope anyone can help me to achieve my goals:

    Please Login or Register  to view this content.
    Last edited by ell_; 09-20-2017 at 02:07 AM.

  7. #7
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,165

    Re: To paste specific data in specific columns and rows to specific table in powerpoint

    Hi ell,

    Darn, I have never written VBA to or behind PowerPoint. I don't know enough about their object model to really follow your code above. Perhaps one of the other forum contributors has an answer for you. BTW - could you edit your above post by clicking on EDIT Post and then select your code and click on the "#" icon above the message area. This will put code tags around your code and follow the rules of the forum.

    Sorry - I'm at a loss on this. It also sometimes gets faster replies if you can attach a sample PowerPoint with a few slides and a few Workbooks to demonstrate your problem. I'm still at a loss on exactly what you need.

  8. #8
    Forum Contributor
    Join Date
    09-19-2017
    Location
    London
    MS-Off Ver
    2015
    Posts
    169

    Re: To paste specific data in specific columns and rows to specific table in powerpoint

    Quote Originally Posted by MarvinP View Post
    Hi ell,

    Darn, I have never written VBA to or behind PowerPoint. I don't know enough about their object model to really follow your code above. Perhaps one of the other forum contributors has an answer for you. BTW - could you edit your above post by clicking on EDIT Post and then select your code and click on the "#" icon above the message area. This will put code tags around your code and follow the rules of the forum.

    Sorry - I'm at a loss on this. It also sometimes gets faster replies if you can attach a sample PowerPoint with a few slides and a few Workbooks to demonstrate your problem. I'm still at a loss on exactly what you need.
    It's okay Marvin but unfortunately the attachment button is not working. May I know some other way to attach documents?

  9. #9
    Forum Contributor
    Join Date
    09-19-2017
    Location
    London
    MS-Off Ver
    2015
    Posts
    169

    Re: To paste specific data in specific columns and rows to specific table in powerpoint

    https://sysmod.wordpress.com/2014/10...oint-20102013/

    This is a reference to make data from excel as a link (editable) but I still couldn't do the coding properly.

+ 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] macro to copy specific columns and rows for a specific month and week
    By Shellybelly in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-23-2015, 11:23 AM
  2. [SOLVED] VBA Paste Specific Data To Specific Rows On Multiple Sheets
    By hobbiton73 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 09-13-2014, 09:35 AM
  3. [SOLVED] Copy rows with specific text in specific column into specific sheet
    By Valemaar in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 08-22-2014, 03:23 PM
  4. Replies: 8
    Last Post: 04-04-2013, 08:02 PM
  5. [SOLVED] Macro code to Copy specific rows into specific columns
    By macrofan2012 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 10-11-2012, 11:24 AM
  6. Replies: 0
    Last Post: 09-17-2012, 11:10 AM
  7. Macro to copy specific data to specific columns from a pivot table
    By Raju Radhakrishnan in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-09-2012, 07:24 PM

Tags for this Thread

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