+ Reply to Thread
Results 1 to 4 of 4

excel table to powerpoint maintaining formats

  1. #1
    Registered User
    Join Date
    10-11-2018
    Location
    singapore
    MS-Off Ver
    15.x
    Posts
    3

    excel table to powerpoint maintaining formats

    Hi,

    newb here. have written a macro to copy excel data from a range of cells to powerpoint. However, in powerpoint, the number formats are completely lost. For eg. some cells show values like 1345.9884940. I would like to have a "#,##0" format in the number cells - how can i do this?

    any suggestions will be welcome

  2. #2
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: excel table to powerpoint maintaining formats

    I wrote something like this for a "fixed template" PowerPoint. If you can't use it directly, then you can look at the code. The cells are copied over as a metafile (picture) rather than text and numbers.

    The application is "fill in the blanks." With a properly named table, you should not have to change the code.

    https://www.excelforum.com/tips-and-...rom-excel.html.
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

  3. #3
    Registered User
    Join Date
    10-11-2018
    Location
    singapore
    MS-Off Ver
    15.x
    Posts
    3

    Re: excel table to powerpoint maintaining formats

    Thanks...tried it - but this seems to cut an image for the table as well. My routine takes the table range, converts it into text and pastes the text in a powerpoint table - that is where I have trouble with the number format. am able to change the fonts, alignment, etc, but there is no way of identifying if the data in a cell (in powerpoint) is a number and therefore it should follow the format of "#,##0". Any help with this would be much appreciated.

  4. #4
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: excel table to powerpoint maintaining formats

    Yes, my code makes an image of everything.

    You may have to put Format(value,"#,##0") in the code. In other words, copy the formatted string to where you want it in PowerPoint.

+ 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. Maintaining readability after importing large Excel Table in Word
    By Simon Gleeb in forum Word Formatting & General
    Replies: 3
    Last Post: 02-10-2018, 02:03 AM
  2. Replies: 0
    Last Post: 04-12-2015, 06:51 AM
  3. MAcro to paste an excel cell in Powerpoint, maintaining the format
    By chuwaka in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-21-2014, 09:23 AM
  4. Replies: 1
    Last Post: 08-21-2014, 06:43 AM
  5. Replies: 0
    Last Post: 09-12-2013, 05:21 AM
  6. Replies: 2
    Last Post: 06-16-2013, 02:58 PM
  7. [SOLVED] Maintaining formats of files
    By Craig in forum Excel General
    Replies: 1
    Last Post: 01-11-2005, 09:06 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