Extra blank rows in vba spreadsheet zoom

Here's how it happens:
- in Excel 2003 VBA
- two row dims
- right row dim is fixed list of mbrs
- left row dim is single member zoom
- sheet has other stuff on it, so retrieve range is not entire sheet
- top of retrieve range is in row 6
so when I call EssVZoomIn() in this situation, the result is that there are 5 blank rows between each instance of a member in the left row dim. That is the exact number of rows above the retrieve range in this sheet, and it turns out that is the variable: if I move the retrieve range to row 7, I get 6 empty rows everywhere.
I have tried every spreadsheet option that would appear to have any impact, no joy. I have tried using a free form mode retrieve, which works, but then I can't preserve formulas in the sheet, which I need to do.
I can work around this, but what a silly thing to have to do, like do the zoom in a separate sheet, or remove all the empty rows after the zoom. Does anyone have any ideas about how to disable this "feature"?
Thanks!

Dheepan wrote:
I am trying to spool a table result to a .dat file.
The problem is the output spool file has 3 rows after each row with a column having its row data split as 3 for every enter key in the data.
Eg:
Original data as in DB
A B C
1 1 ABC DEF GH
2 1 DEF GHI JK
SPOOL FILE O/P
A | B | C |
1 | 1 | ABC |
     | |DEF |
     | |GH |
2 | 1 | DEF |
     | | GHI |
     | | JK |
Thanks,
Dheepancan you post script?
BTW, have you included SET TRIMSPOOL ON ?
When you have moved your question, Close that thread ORACLE SPOOLING extra blank rows
Edited by: CKPT on Mar 24, 2012 10:07 PM

Similar Messages

  • Remove extra blank rows in ORACLE SPOOLING

    I am trying to spool a table result to a .dat file.
    The problem is the output spool file has 3 rows after each row with a column having its row data split as 3 for every enter key in the data.
    Eg:
    Original data as in DB
    A B C
    1 1 ABC DEF GH
    2 1 DEF GHI JK
    SPOOL FILE O/P
    A | B | C |
    1 | 1 | ABC |
         | |DEF |
         | |GH |
    2 | 1 | DEF |
         | | GHI |
         | | JK |
    Thanks,
    Dheepan

    Dheepan wrote:
    I am trying to spool a table result to a .dat file.
    The problem is the output spool file has 3 rows after each row with a column having its row data split as 3 for every enter key in the data.
    Eg:
    Original data as in DB
    A B C
    1 1 ABC DEF GH
    2 1 DEF GHI JK
    SPOOL FILE O/P
    A | B | C |
    1 | 1 | ABC |
         | |DEF |
         | |GH |
    2 | 1 | DEF |
         | | GHI |
         | | JK |
    Thanks,
    Dheepancan you post script?
    BTW, have you included SET TRIMSPOOL ON ?
    When you have moved your question, Close that thread ORACLE SPOOLING extra blank rows
    Edited by: CKPT on Mar 24, 2012 10:07 PM

  • Getting extra NULL row in presentation layer when we use CASE in RPD

    Hi,
    We have created some time utility members in RPD like Previous month, Previous quarter.
    Steps:
    We have created a init block for capturing Previous month, Previous quarter and added variables with some default values assigned.
    Now, we have created a logical column under time dimension in BMM as Previous month, Previous quarter. We are deriving them using following way.CASE
    WHEN
    MONTH_COL_NAME=VALUEOF(REPOSITORY_VAR_NAME)
    THEN
    MONTH_COL_NAME
    END
    We want these dimension values to qualify with measures.
    The problem we are facing is it is showing one extra blank row in presentation layer when we bring Previous month or Previous quarter. This is because CASE conditions behaviour. How to avoid null in CASE condition in RPD?
    Thanks,
    Anilesh

    You need to handle the records which are not equals to REPOSITORY_VAR_NAME.
    I guess those other rest of values .
    Try this
    CASE
    WHEN
    MONTH_COL_NAME=VALUEOF(REPOSITORY_VAR_NAME)
    THEN
    'Y'
    ELSE 'N'
    END
    in criteria use Y as filter value
    If helps pls mark
    Edited by: Srini VEERAVALLI on Dec 20, 2012 7:49 AM

  • Desformat=spreadsheet  blank rows and columns

    Hello,
    With Oracle Reports 10g R2, I'm trying to generate EXCEL report output using desformat=spreadsheet
    The excel report output is being generated with one blank column between each data column and 2 blank rows between each data row.
    Any clue to get around the problem ?
    Thanks
    Sridhar

    I think you should try this one:
    http://www.oracle.com/technology/products/reports/htdocs/getstart/demonstrations/excel/viewlet.html
    No more blank rows or blank columns

  • Any way to remove extra blank "separator" pages when printing in Numbers?

    Hello, I've just started using Numbers '09 and noticed that for each page I have, there is an extra blank "separator" page that is added. Last night, I started a spreadsheet using one of the templates, and it's only 2 pages long, but it states on the sidebar that it's 4 pages. Those extra blank pages are only seen when you do a Print Preview. Is there a way to remove or disable these extra blank pages?
    I don't want those blank pages to print, especially when there are multiple sheets within the file with those blank pages mixed in-between. Plus, I send the file to others to reference too and would like them to be able to print the pages seamlessly without having to remove any blank separator pages that are printed in-between. Seems like there should be an easy remedy to this, but so far, haven't been able to find the solution. Thanks for your help!

    Hi,
    Unlike other spreadsheet programs, Numbers doesn't have wall-to-wall tables. Tables have a finite size and wherever there is a table a page will print, whether there is content in the cells on that page or not. To prevent the sheets without content from printing, you need just reduce the size of the tables to what you actually are using. If you select a cell in your table and scroll to the lower right corner of the table, you will find a large handle that when dragged will change the number of Rows and Columns. Drag the handle up and to the left until it encounters content. It will stop there on its own.
    Now go to the Print View mode: View > Show Print View. You will see all the pages with content and adjacent non-printing pages will be grayed-out.
    Hope this helps.
    Jerry

  • Export to excel. Subreport blank rows generated.

    Dear Forum
    Hoping you can help with a query.
    I have a report that has 3 subreports all are supressed if blank and not shown during preview or print.
    When i try and export the report to excel the returning result is a series of blank rows in excel.
    I know the subreports are the root cause of the issue as when each of them is supressed my blank row count reduces accordingly.
    Is this a know issue or is there indeed a resolution.
    Thank you forum for your assisatnce as ever
    With Kind Regards
    Paul Marks

    Hi Paul,
    Sorry to be a downer but It has been my experience that the more complex a report is the more problems I have when exporting especially to excel.
    Below is a link to the export limitations of Crystal 10...I haven't found a newer version for XI or 2008.  This document doesn't give an exact explanation for each limitation but sometimes it's enough to know that there is an issue related to exporting your report.  In your case there are limitations related to exporting suppressed items to an excel spreadsheet.
    [Crystal Reports 10 - Export Limitations|http://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/d0b01060-3a62-2b10-73a1-d03a6c634914]
    I don't know how much data you have but my suggestion is to try exporting your report to a csv file instead because suppression is not as much a problem when exporting to that format.  CSV files can be opened directly by Excel you are just missing any nice formatting.
    If you need a nicely formatted spreadsheet, create a standalone spreadsheet formatted the way you want and either paste in the data from your exported Crystal report or link to the data in the csv file.  I have found this type of conversion takes a little longer to set up but is much easier to maintain. 
    If you do decide to export to csv format i must also suggest that the report be formatted for export (this also helps with data dumps to excel):
    1. Start rows of data at the left most margin and align any subsequent rows with this position.
    2. Make sure the next column (to the right) always starts where the last column ends.  This ensures no blank columns get inserted between your data.  Subsequent rows should have columns aligned in size and count to ensure proper layout.
    3. Make sure all objects in a row have the exact same height and use the "fit to section" command to prevent extra rows from being generated.
    4. Suppress all sections that do not contain any objects needed in your export.
    5. If your data isn't too wide (less than 256 bytes but it can be more if the printer driver used can print at a high dpi setting) consider using a formula to create each row of data i.e. properly padded for space delimited or with the commas where you want them for csv etc).  This also gives you more control on how each data type is formatted.
    Sorry to be so long winded but I hope this helps with your exporting.
    Marshall

  • Intermittent Blank Rows coming in BI Publisher Report output

    Hi,
    We are working on a BI Publisher report output.
    Issue
    The report sometimes creates a blank row along with the headings of the report columns. Table has multiple records and between 2 records we have a data being displayed which is optional. When this record is null, it is creating an extra space and hence creating a new page with the headers and a blank row.
    Reducing the space is one issue we have thought of. Are there any other pointers to this.
    Thanks
    Ishani

    Hi,
    I did not got the complete thing but as you told you need to remove the blank space in the report and at the same you told when a column returns null the row get displayed as blank row.
    Then can you try using the Conditional region so that when ever you find the column value as null so you can hide that row.
    Just try it i donot no if your requirement is exactly like this or what.
    Thanks.

  • Extra Blank line inserted at the end of the target file

    Hi,
    This is File to File senario and target files created with a extra blank line at the end of the file.
    Below is the source file structure and the content.
    <ns0:MT_MOD_FL xmlns:ns0="http://file2file/MES">
       <EMPLOYEE>
          <ID>12</ID>
          <Name>SREENI</Name>
          <Designation>M2</Designation>
       </EMPLOYEE>
       <EMPLOYEE>
          <ID>121</ID>
          <Name>RAJA</Name>
          <Designation>M3</Designation>
       </EMPLOYEE>
    </ns0:MT_MOD_FL>
    Below is the generated target file
    12     SREENI     M2
    121     RAJA     M3
    Here Generated target file suppose to have only two line instead of 3.
    What exactly do i need to change to generate the file with 2 line.
    I am not using any mapping as both source and target message structure are same.
    IN FCC i used only fieldSeparator, even i have not used endSeparator.
    Thanks in Advanace...

    Hi! Raghu,
    Just go through the below Help..documantation
    [http://help.sap.com/saphelp_nw04/helpdata/en/0d/5ab43b274a960de10000000a114084/frameset.htm]
    NameA.endSeparator
    To define an additional string as a separator after the last column in a row, specify it here. The system skips this string when it processes the last column (otherwise the system would treat it as part of the last column).
    NameA.fieldSeparator
    If you make an entry here, the system expects that the structure contains the specified character string (one or more characters) as a separator between the individual columns.
    If you have not made an entry for fieldFixedLengths, this is the only specification to identify the individual columns in a row.
    If you made a specification for fieldFixedLengths, the extra length of the separator is taken into account, but no further consistency checks are performed.
    Regards::
    Amar Srinivas Eli

  • Splitting worksheets by blank rows

    Hey guys,
    So I have a bunch of text files, which I need to import into Numbers. The thing is, each one needs to be in a separate sheet, but in the same book, and there's 50 of them, so dragging and dropping each of them into their own spreadsheets is a pain.
    As an alternative, I put together a quick Automater script that combines all 50 text files into one, which is separated with blank lines. So, if I could import this file, and then split the worksheets by the blank rows somehow, I'd have solved my problem. A quick google didn't turn up much on how to do this, or if it's possible. Anyone know?
    As an aside, I was going to try to simply write a script that imports each text file automatically into its correct worksheet. Unfortunately, it doesn't look like Automater has much support for importing stuff into Numbers above simply opening a file, and I need all 50 in the same file, not in 50 different ones. But if anyone knows of a way to do this, that would also be helpful.

    Here's my take on it:
    You have a single document and you want it to have 50 tables, each table in a separate sheet.
    You have been able to make a single table that contains all of the data.
    You did not say what format your text file was. Is it a CSV file?
    Here is what I might do:
    New document
    Delete the table in Sheet 1
    Rename the sheet in the sidebar. At least remove the number.
    Select the sheet in the sidebar and copy (Cmd C)
    Paste it in the sidebar 50 times (Cmd V)
    All the sheets will be numbered except the original one. Delete the original sheet.
    If your text file is a CSV file, drop it on the first sheet and it will make a table from it. Otherwise, copy and paste the table from your other document that has the data in it already.
    Select a set of rows that you want to move to a new table.
    Cut (Cmd X) or copy (Cmd C). Cut makes it easier to see what you've done.
    Paste onto one of the other sheets in the sidebar (Cmd V) and it will create a table
    Repeat for your other sets of rows. 49 times in all, ouch.
    Delete all the empty rows in your first table.
    Still a lot of work. All the tables should end up as Table 2, except the original one.

  • Extra blank lines in table

    I am getting an extra blank line in my table rows using the following statement:
    <?for-each-group@column:TC_CELL;ITEM_DATE?>
    <?for-each-group:current-group();PAY_TYPE?>
    <?if: PAY_TYPE = ‘R’?>
    <?if: sum(current-group()//HOURS)!= ‘0’?>
    <?sum(current-group()//HOURS)?>
    <?end if?>
    <?end if?>
    <?end for-each-group?>
    <?end for-each-group?
    When PAY_TYPE is equal to 'R' it will print the sum, but then there is a blank line under it.
    Ex:
    | 20.00
    |
    But I want:
    | 20.00
    Any ideas?

    Sure - you need to specify the correct "context" how we call it.
    When your document contains XSL - the RTF converter has to make assumption
    where to put your code - for if statement the assumption is on fo:block (=paragraph) level.
    You can the context directive @inlines behind your if statement to correct your problem.
    <?if@inlines:sum(current-group()//HOURS != '0'?> should correct the problem
    This example is described on page 2-56 "" in the 5.6.1 User Guide. You may also want to read on the context in general in the section "Using the Context Command" (2-107 in the 5.6.1 user guide).
    Hope that helps,
    Klaus

  • How to get rid of all the extra blank cells in excel export

    Hi I am using vs2005 and when the user exports a report to excel there are many extra blank cells and rows, just wondering if there is a way to get rid of these, thanks.

    Hi I will have to look for the article but if I remember correctly you will want to use the grid format set up on the view menu.  This displays the entire report in crystal reports overlayed on a grid.  You will then want to line everything up has much as possible both horizontally and vertically.  You can use the snap to grid feature which will turn the end of the text object red when it is aligned.  I placed ruler markers on both the x and y rulers and tried to line stuff up to those.  Try to get rid of any blank space between the objects placed on the report as the excell dll will turn these into additional cells.  I do not know if crystal reports for .net has this feature but I used version 9 developer edition.

  • EvDRE Question -- Inserting Blank Rows

    Hi all,
    Here's a good question that we've run into a couple of different times with EvDRE:  Say you are specifying a Memberset to expand on that will consist of a comma-delimited list like:
    bas(Accounts_Receivable), Accounts_Receivable,
    bas(Accounts_Payable), Accounts_Payable,
    bas(Notes_Receivable), Notes,Receivable,
    bas(Fixed_Assets), Fixed_Assets   ...etc.
    This would expand each of the four account groups, and follow each of them with their respective parent.
    Question:  What's the best way to insert a blank row after each parent/subtotal?
    It turns out that if you use the SUPPRESS=Y for that Expansion, that the Blanks get suppressed (since the suppression is .  Also, I'm not sure if there is a good Before/After Range option... But, how about maybe using INSERT ?
    Thanks,
    Garrett

    Garrett,
    You can insert blank lines by adding extra commas with nothing in between.
    So in your example this would mean:
    bas(Accounts_Receivable), Accounts_Receivable,,bas(Accounts_Payable), Accounts_Payable,,bas(Notes_Receivable), Notes,Receivable,bas(Fixed_Assets), Fixed_Assets
    Suppression will also suppress the blank lines, so you cannot use that function in this solution.
    The option 'insert' will give you the possibilitie to manually insert new lines which you have to select with your right mouse button as an enduser, so I think this is useless this situation.
    Hope this helps,
    Alwin

  • SSIS Excel destination blank row

    I have create an SSIS package in VS 2005 (because we are still in the stone age) where I have three Excel exports using the Excel Destination. One works fine but the other two have a blank first row each time (the second row of the sheet). I have reviewed
    other threads but cannot seem to find a solution.
    I do not have extra data in my templates. I even tried creating new ones but that didn't help. Pressing <CTRL><END> takes me the the first line where the header is.
    There was one that looked promising but the selected answer referred to dead Microsoft forum link (forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2915256&SiteID=1).
    Any suggestions to fix this?
    Thanks for any help.

    I think it may be because of some unprintable characters present at the end of the excel header row.did you try explicitly setting a range to start from 2nd row for them and see if blank row disappears
    http://sqlserversolutions.blogspot.in/2009/02/selecting-excel-range-in-ssis.html
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Insert  Blank row  After every Row  in alv report

    How to insert blank  row After every row  in Alv report

    what do you mean by a 'blank row'? ALV displays tabular data with 'any' number of columns. Now if you actually want a blank row (no columns at all, just a row), then that is just not possible. If I'm not mistaken, this question was posted before, so try to do a search on SCN. See what is says.

  • Smartforms - Extra Blank Page in DUPLEX mode

    Hello Friends,
    I am printing my smartforms in DUPLEX page mode. Its printing fine but i am getting an extra blank page.
    Searched the forum but no luck.
    I have defined 3 pages Page1, PAGE_INST,Page2. I need to print instructions(say) on back of each page.
    I had set page1 to duplex mode 'D' and next page to blank.
    My pages flow is in the following way:
    page1>Page INST>Page2
    Page 1 & 2 have main windows and have a command to print PAGE_INST.
    Page_INST Does not has main window.
    Page1 : next Page 2.
    Page INST : Next page is Page 2.
    Page2 : is a continuation of page 1 next window is blank(or page 2)
    Its printing fine in Duplex but always there is a blank sheet in the print out at last page.
    Can someone help me how to avoid the last blank page.
    Thanks

    HI Hari,
    How to avoid a blank page at end of the page?
    Regards,
    Sravanthi

Maybe you are looking for

  • Related to "service pack is a full installation"

    Hi In Metalink if patch have mentioned this line in ReadMe doc " service pack is a full installation" (for essbase client, Essbase server, EAS and Aps) Can i go and install without installing and configuring earlier version? I mean should i install n

  • Powerbook 1.25 G4 and ilife 08

    Yes I was wondering I have a powerbook G4 1.25 and I see the new iLife 08 has come out and i have a question. Will the new iMove 08 work with a G4 processor or no? It looks like all the other programs will work with a G4 but iMoive will not. Will any

  • How to increase oracle mem

    hi, i got 10GB on my win server 2003 Server x32 but oracle only reads it 2Gb (from Database Configuration Assistant : step 10 out of 12).. how to increase the oracle memory so that it can read more than 2Gb.. ? I am using oracle 10GR2 (10.2.0.1.0) th

  • How do I connect wirelessly from my Canon SX700HS to my iPhone5s?

    I can not get my iphone to connect wirelessly to the Canon SX700HS. I am able to see the Canon SX700 in the wifi section of my iPhone and I am able to select it. When I open the EOS Remote application and select Camera Connection, I see the camera sh

  • Optimizing the # of threads to do code optimization

    Hi: Is the number of threads used in the server to perform the code optimization tuneable? Cust has a large app and server startup is VERY long (1hour+) vs 15 mins with -Xnoopt) due to optimization processing. Can the # threads used for this be incre