+ Reply to Thread
Results 1 to 3 of 3

Finding the cell in which an object lies

  1. #1
    Registered User
    Join Date
    07-14-2006
    Posts
    24

    Finding the cell in which an object lies

    Hi again

    I'm trying to make a page break after a chart. But I can't do this it seems, the page break can only be inserted into a cell/row.

    Any idea how to determine the cell that the corner of an object is in? I want to take my object, find what call it is above, and break based on that cell.

    Cheers!

  2. #2
    Valued Forum Contributor tony h's Avatar
    Join Date
    03-14-2005
    Location
    England: London and Lincolnshire
    Posts
    1,187
    the chartobject has a .topleftcell and a .bottomrightcell property which shoukd give either of the rows in which you are interested

    hope this helps

  3. #3
    Registered User
    Join Date
    07-14-2006
    Posts
    24
    Bingo, that's exactly what I was looking for. Works a charm - thanks!

    But unfortunately my pagebreaks don't. Although I've inserted them OK, both print preview and actual printoffs completely disregard the inserted breaks - why might this be? I've got a frozen pane at the top of my sheet, and also I've set the print options to scale down to 66% (to get the page fitting on only one sheet horizontally)

    EDIT: Yeah it's this scaling that's stopping them from working. If I leave it at 100% the breaks start working again. However, then I have a problem that my sheet is 50% to large, and requires a double-width paper to print. Any ideas how to get around this?
    Last edited by F*SH; 07-19-2006 at 07:47 AM.

+ 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