+ Reply to Thread
Results 1 to 2 of 2

Split Up Excel Table

  1. #1
    Andibevan
    Guest

    Split Up Excel Table

    Hi All,

    I have a table of data in excel that I need to split into numerous
    sub-tables based on the total row height, in order to copy and paste them
    into a powerpoint presentation.

    I need to split up the tables by the total height of all the rows that can
    be fitted onto a page. i.e. if I specify 20pt as the max row height per page
    and the data table is 100pt I would need 5 pages to split up this data.
    (this does not take into account the headers that would be copied to each
    page).

    Any help would be gladly appreciated - Thanks

    Andi




  2. #2
    Damon Longworth
    Guest

    Re: Split Up Excel Table

    You can loop through your rows and add up the row height. Here is a simple
    example:

    For i = 1 To 5
    r = ActiveCell.Offset(i, 0).RowHeight + r
    Next
    MsgBox r

    --
    Damon Longworth

    Don't miss out on the 2005 Excel User Conference
    Sept 16th and 17th
    Stockyards Hotel - Ft. Worth, Texas
    www.ExcelUserConference.com


    "Andibevan" <andibevan@remove-to-prevent-spam-hotmail.com> wrote in message
    news:OfGXPcJfFHA.2644@TK2MSFTNGP09.phx.gbl...
    > Hi All,
    >
    > I have a table of data in excel that I need to split into numerous
    > sub-tables based on the total row height, in order to copy and paste them
    > into a powerpoint presentation.
    >
    > I need to split up the tables by the total height of all the rows that can
    > be fitted onto a page. i.e. if I specify 20pt as the max row height per
    > page
    > and the data table is 100pt I would need 5 pages to split up this data.
    > (this does not take into account the headers that would be copied to each
    > page).
    >
    > Any help would be gladly appreciated - Thanks
    >
    > Andi
    >
    >
    >




+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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