VBScript - Identifying Rows that are too large for a page

I am trying to write a VBScript that will identify rows that are too large to fit on a page.
So far I have:
Sub IfRowIsTooBigBreakAcrossPage()
'Use to track number of tables in the document
Dim t As Integer
'Use to track number of rows in a Table
Dim r As Integer
'Get the number of tables in the document
t = ActiveDocument.Tables.Count
For i = 1 To t
'Get the number of rows in a table
r = ActiveDocument.Tables(i).Rows.Count
For n = 1 to r
If ActiveDocument.Tables(i).Rows(n).Height > 6 Then
Active Document.Tables(i).Rows(n).AllowBreakAcrossPages = True
End If
Next
Next
End Sub
I am having a hard time just getting this to run.   This is meant to run on tables that have been exported from IBM Doors.  I'm not sure if that [having been exported from Doors] is the issue or if I'm just missing something when it comes to the
Rows attributes.
Any help is appreciated!

Hi David,
I'm afraid that it is not the correct forum about this issue, since this forum is to discuss Visual Basic.
For some reason, I can't help you to move this case to Scripting forum, please feel free to open a new thread in that forum for better response:
http://social.technet.microsoft.com/Forums/en-US/home?forum=ITCG
Thanks for your understanding.
Best regards,
Franklin
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • Page header plus page footer too large for the page in crystal report 2008.

    Hi,
    when we selecting pieview and print after entering paramter it's showing error: page header plus page footer too large for the page. error in File.rpt page header or page footer loanger than page. and it's not showing print layout format if i connect another printer it's showing layout designe. and some times it's showing letter formate and if i give print it's taking default lamdscape but we setup defual setup for printer 10*12 inches in particular printer.please guide me how we can solve this issues.
    regds,
    samapth

    This is a really hard post to read. See if you can take a bit of time to reword it, but one thing I do understand is that you are getting this error:
    page header plus page footer too large for the page.
    Typically, you can trust that if the error is thrown, it is true. E.g.; this is not one of those errors that says one thing, and means another. I suspect that you have some field(s) in the header(s) that grow, depending on the data. If there is too much data or the data is too long ( a text for example), the error will be thrown. To resolve this, see if placing the field(s) into a group footer / header will help.
    Ludek

  • Crystal Reports 9: Page Header plus Page Footer is too large for the page.

    Hi,
    I have a report that has the following sections.
    GH1
    GH2a
    GH2b - has a sub report
    GH2c - has another sub report
    GH3
    GH4
    GH5
    details - suppressed
    GF5 - suppressed
    GF4 - suppressed
    GF3 - suppressed
    GF2 - suppressed
    GF1 - suppressed
    The report works fine wehn I run it using Crystal Designer.I am using CR version 9.2.2.693.
    When I try to load the report in my application, I get the following error.
    Crystal Report Windows Forms Viewer
    Page Header plus Page Footer is too large for the page.Error in File rptName.rpt:
    Page header or footer longer than a page.
    OK  
    There are no 'suppress blank sections' option set in the sections where the sub-Reports are.
    I also tried setting the No Default Printer option.
    The report gets loaded from the application only when I set 'New Page after' in the sections where there are sub-Reports.
    I do not want to do this; Is there a workaround?
    Thank you.

    Can someone tell me if this problem is being worked on as it looks as thogh none of the problems regarding the message u2018Page Header plus Page Footer is too large for the pageu2019 have been addressed.
    We have several reports that were written in Crystal 7 (I think) and worked in Crystal 9 and X1R2 but now give the above error. We have tried jigging the report in line with the various suggestions but at best can get them to run through successfully with one lot of data and then fail on the second or subsequent pages when you vary the data or report format even slightly. We can report on every bit of data separately or in various combinations but not in others. Changing the bottom page margin by 0.01 cm can cause it to fail on page 7 instead of page 530 (for example). We certainly do not have large page headers (just over 2cm) or page footers (about 0.3cm). We do have some subreports in the details section but have used 'fit to section', added 'keep together', removed u2018keep togetheru2019 from just about everything we can (in desperation) but to no avail. We cannot see a pattern to what is happening. It would be encouraging to know that someone is actually working on this fault.

  • Since installing update on 6/25, printing pdf pages OK, but bank account activity type is too large for the page. How do I shrink the type?

    Since installing Firefox v.3.6. 6 update on 6/25, printing bank statements in pdf format is still OK, but when I select the print option for my bank account activity the type is too large for the page. How do I shrink the type? We are running Windows XP.
    == This happened ==
    Every time Firefox opened
    == I installed Firefox update on 6/25

    Firefox doesn't display PDF files all by itself, it uses your PDF reader program which is also what handles the printing of that file type.
    As far as the large printed font from Firefox, open File > Page Setup and see what the '''Scale''' is set to. 100% is usually the best setting, but you might need to use a smaller setting.

  • How to backup an iMovie project that is too large for the dvd?

    This may be obvious, and it was probably answered elsewhere, but I'm trying to clean off my hard drive by saving my iMovie projects to two sets of dvds (one for home and one set for safekeeping at work). When saving one project as an archive, it just says this project is too large for a disc. Is it possible to stuff it as a .sitx file and then save that onto dvd? Is there a better solution than an external hard drive (which I've had a couple of fail on me).

    DVD's can only hold about 4.7 GB's of DV Stream format (the format used by iMovie).
    DV Stream is 13 GB's per hour of recording so it would take 3 DVD's to "store" your data for a one hour capture.
    "Export" (back to tape) or use iDVD to "burn" an MPEG-2 version of your file.
    Only the "tape" version would not require some type of conversion on import.

  • HT201077 The photos I have transferred to my PC via Photo Stream are too large for me to share with friends.  How do I reduce the size and how do I share them with friends and family only?

    I have the latest iPad update on my Ipad 3 as of September 23, 2012. 
    I havejust  taken a series of photographs with my iPad that I would like to share with family and specific friends ONLY.  I have set up the photos I want to share in Photo Stream.  I have synced them to my PC via iCloud.  Everything is fine except, the pictures are far too large to share ... and I don't know what exactly I am supposed to do in order to give my family access to these Photo Stream pictures.
    How do I reduce the size of photo stream pictures once they are on my PC via iCloud?
    What exactly do I do to give access to the photos on Photo Stream to specific people?
    How can I share the videos I have taken with my iPad?
    Many thanks for your attention.  I look forward to your reply.

    Select your photo/s.
    File menu > Export..
    Kind: JPEG
    JPEG Quality: Maximum
    Include: [√] Title and keywords
                [√] Location information
    Size: Full Size
    File Name: Use filename
    Select one of the photos and open in with Preview.
    Tools menu > Show Inspector
    Under the second button choose IPTC and it is all there.
    Sorry for all the confusion.
    :^P

  • If I download a series that is too large for my iPad on my pc, can I select what individual episode I want to put on my iPad?

    Was just wondering if I buy a tv box set in iTunes on my pc, can I transfer it a couple of episodes at a time to my iPad as the box set is to large for my iPads memory?

    Hi Ben Heath,
    Yes. I am assuming that the content you are wishing to buy is separated into episodes. In iTunes, you have a few options for syncing TV shows: All, 1 most recent, 3 most recent, 5 most recent, 10 most recent, all unwatched, 1 most recent unwatched, and so on…
    For more information on basic syncing, see this resource:
    iOS: Syncing with iTunes
    http://support.apple.com/kb/HT1386
    Thanks,
    Matt M.

  • H.264 compression gives gradients hard edges, lossless filesizes are too large for uploading, whats

    When I've rendered a HD movie from After Effects CS3 with lossless animation settings the quality is beautiful and crisp but I want to upload my videos to sites like Vimeo so that I can use them in my website http://www.splurj.com and the file size is way too large (in the region of 6GB).
    When I've rendered the lossless video using H.264 compression the filesize is great but it losses quality. The colours become slightly saturated and any gradients have a hard edge.
    Can anyone tell me the best compression software (or way of rendering direct from After Effects) to maintain quality and reduce filesize significantly?

    >Can anyone tell me the best compression software (or way of >rendering direct from After Effects) to maintain quality and reduce >filesize significantly?
    As per the others' suggestions: Export a Photo-JPEG encoded file from AE, then use external tools. Additional programs not yet mentioned include ProCoder, SUPER©, TMPEG Enc., but QT Pro would be a good investment to start with and probably the cheapest solution to the immediate problem. It also provides additional ways of embedding extra info in the clip and adjust a few problems post-encode, if necessary.
    >With AE, since the "next" frame doesn't really exist yet, it can't
    >possibly provide the best compression.
    That's a bit oversimplifying the case. If exported via the specific MPEG-2/MPEG-4/H.264/FLV writers, the frames will be buffered in the writers themselves until valid (sub-)GOPs can be written. The only thing it doesn't do, is to analyze beyond the bounds of such a packet, hence the efficiency of the underlying algorithms is impaired. And of course it depends on what you plan on doing with the stuff. Even with its limitations, the process works quite well for DVD/BluRay work for instance...
    Mylenium

  • Bounding box area too large for interactive button

    Hello all,
    I am new to InDesign interactive part and I'm creating my first ever interactive file. So the problem is that I have one path (which is a diagonal line basically) made into a button that should work on roll over mode. Now the the bounding box area is so large around it and it will react already when it shouldn't (when the mouse touches the bounding box area).
    Is there a way how to manipulate with the empty bounding box area so it wouldn't react or should everything be made of squares?
    Cheers,
    Egert

    Hey guys, thanks for the replys.
    Bob's idea definately works. I am thinking of creating a line of buttons and then creating a group of them so they should react as "one" button.
    And I just tried Manish-Sharma's thing too and it seems to be helping aswell. The bounding box is way smaller if I draw the button as horizontal as possible and I rotate it once created into a button.
    Thanks guys!

  • Can i share imovie theater clips that are too big for icloud?

    I have transferred my old vhs tapes to .mov, edited them in iMovie, and added them to iMovie Theater (most of which are over 15mins so I know they can't be shared via icloud) and wish to gift these larger non icloud clips to my kids so they can add them to their own mac pro's. One child is in at home so I have access to his laptop, the other lives overseas with his mac pro.
    Can this be done, and how?

    With Yosemite you can use mailDrop for files up to 5 GB (Mail Drop limits - Apple Support).  You can also use Dropbox or similar cloud services. 
    Geoff.

  • Outlook keeps trying to send files that are too large

    I'm using Microsoft Outlook on my Mac (first mistake) and I find that 4 or 5 files containg photos that I tried to send are causing problems because of their size.  The problem is I can't find a way to delete them - as these files are not in Drafts or in Send folders and every time I open Outlook it tries (again) to resend.  Can someone help please?  How do I delete those files?  Thanks

    Open up Outlook and click on Window on the top menu bar and then select Progress. You should be able to cancel the emails from sending from here.

  • TS1717 Everytime i open Itunes in windows 7 despite me specifying maximised it opens in window that is always too large for the screen. EVen windowing the frame and then remaximiseing puts the buttons outside the edge of the screen

    Every time i open Itunes it starts in a window that is too large for the screen (despite me setting "start maximised" in the launch options). Then hitting the "maximise" button expands the window slightly pushing all the buttons and edge of the frame out of the screen and behind the taskbar at the bottom. I have to move the window to a place where i can resize it smaller than the screen then and only then does maximising the window fit it properly to the screen.

    Okay, I just opened up Itunes this evening and it's not working again! Sheeshy Peetz!
    HOWEVER, this time I followed some different steps and got it working.
    (1) Uninstall Quicktime
    (2) Uninstall Itunes
    (3) Re-download Both
    (4) Install Quicktime First!  (Read #6 below first though)
    (5) Install Itunes Next!  (Read #6 below first though)
    (6) Here is the CAVEAT for me:  I have an SSD as my C:\Drive, which is where I originally installed both of them.   So this time, I installed both Quicktime and Itunes to a Non-SSD drive, which was one of my SATA Drives.
    (7) Start Itunes and Test your Movies now.  For me I was able to play them finally.  Who knows how long this will last lol.
    Maybe this work for someone.

  • My image is too large for the print service. Best options...

    I shoot with a Nikon D800. It appears the images are too large for the print service. What's the best method to reduce file size? Open in Photoshop, edit size, and return to Aperture?

    You would have to look in your TV settings, that is likely the issue.

  • Code too large for try statement - help :(

    Please help :(
              We are migrating our project from an older technology, Kiva from netscape
              (and about time we migrate) . Kiva uses template evaluation similar to
              jakarta velocity. So the fastest way we found was to translate kiva
              templates to JSPs via perl script. All is working fine except a bunch of
              JSPs which are too large for the compiler to handle. If we were not
              migrating and instead wroking from scratch we would have simply made the
              JSP's size smaller and used jsp:include, but in this case it will involve a
              lot of effort as that means changing a lot of business code.
              Basically what we get is "code too large for try statement". Is there anyway
              we can tell weblogic to put smaller code fragments in try/catch when it
              converts a JSP into java code.
              

              Haider,
              Have you seen the following Sun Bug Parade posting
              http://developer.java.sun.com/developer/bugParade/bugs/4210912.html
              Additionally, you may want to try the '-noTryBlocks' jsp compiler switch and see
              if it makes a difference
              See the following 6.1 URL
              http://edocs.bea.com/wls/docs61/jsp/reference.html#57805
              Chuck Nelson
              DRE
              BEA Technical Support
              

  • Error formatting page : Page Area too large

    Hello,
    I  use Crystal Reports X1 for my reports design and my report was generated successfully. I also use JRC to generate the report in my Java application and I get this error. "Error formatting page : Page Area too large" for the same report.
    Could you please help me with this error.
    Many thanks
    Marilyn

    Hi,
    Please provide the environment details along with the web browser version information.
    Before that my suggestion is to upgrade to CR 2008 as XI is out of support and also you can download lestest version of CR Java SDK's from below link
    http://www.businessobjects.com/campaigns/forms/downloads/crystal/eclipse/datasave.asp
    on this page select the link below Runtime Libraries.
    Thanks,
    Nilesh Benke

Maybe you are looking for

  • While executing the query getting an error u2018Page Not Foundu2019 in the bowser.

    Hello, I opened a Bex Query in Query Analyzer and clicked on the Execute button to execute the query in our portal site. But I am getting an error u2018Page Not Foundu2019 in the bowser. As I am new to BI,Kindly guide me through the steps. what all s

  • Performance Tuning in Oracle 10g during Migration - Insert Statements

    Some of the tables contain a huge data e.g. 7 million records to be migrated. The table structure of Source Database is different from the Target Database (Where we are doing the migration). So we have made a use of temporary tables to collect the da

  • Graphic Driver has stopped responding but recovered ERROR

    I have had this issue since I put windows 7 on my s12. Graphic card driver stops working, usually when coming from sleep or the screen saver.  Usually the screen goes black for a few seconds,  Now its worse and never restores, the maching must be for

  • Oracle 10g R2 and MS Virtual Earth projection

    Hi all, I need create new projection system in Oracle 10g R2 for Virtual Earth. Currently I use coordinate system with srid 49155, but this differs in Y coordinate. I tried create new projection system, but it produce same results as 49155. I followe

  • IH01 default screen variant for all users

    Hi,    I want location hierarchy, equipment installed and BOM explosion checked in the transaction IH01 for all users. I can do this through a screen variant but the user will have to choose it every time he enters this transaction. Is there a way th