First column and row in Exel are empty after saving

Hello Everybody,

Can somebody tell me how i can save a BO report into excel without the first row and collum are empty?

each time if i save a report in Excel, the first row (1) is empty and the first column (A) is also empty. the value of the BO Report begins at column B and row 2. I need it to begin in row 1 and column A because its a import file to a other system.

Just removing column A and row 1 by hand is not a option because the report must be generated each month for many business units. it would cost to much time, and i would like to generate the report’s automatically.

(i’m using BO 6.5 SP2)

Thanks!

Niels


Born (BOB member since 2006-10-13)

Hi and welcome to B :mrgreen: B

Try to position your table (generally datablock) to 0 inches/millimeters from the left and 0 inches/millimeters from the top. It means stick your table to the right upper corner of the page, no gaps.

Did that help?


Marek Chladny :slovakia: (BOB member since 2003-11-27)

Hi Marek,

Thanks for your quick reply!

I did already try to solve the problem like the way you said, but it doesn’t work. Excel still doesn’t use column A and row 1…

so it did not help… but thanks anyway!

Kind Regards,

Niels


Born (BOB member since 2006-10-13)

Get into the page properties (the stacked, blank pieces of paper icon) and look at the margins (top and bottom) - make sure you don’t miss the headers.

Make sure you check all the margin checkboxes in properties, and again look for the page layout tabs - there are about 3 places to set these to 0.

That drove our users crazy, really want a csv output - they are getting used to this…

Good luck!
Brent


bdouglas :switzerland: (BOB member since 2002-08-29)

Moved to BO Classic…


Nick Daniels :uk: (BOB member since 2002-08-15)

Hi Brent,

Thanks for your reply.

I did search in BO but i could not find a third option to set the margin on 0.

I have chanced the margins to 0 on the following places.

  • Table Format -> Appearance -> left margin 0 and top margin 0
    General -> Show Header (disabled)

  • File -> Page setup -> Margins -> Left 0 Top 0 Right 0 Bottom 0.

So every possible margin item i set to zero. But the Excel file still shows the column A and row 1 empty.

Perhaps there is a other place to fill in margins, i don’t know. (If sombody knows please tell me!)

Kind Regards,

Niels


Born (BOB member since 2006-10-13)

Make sure that you set your display to “Page Display” mode - that will show you the heading, which I think is the trick. You have to set the heading top / left margins to 0, then move the body of the report into that space.

I just tested it, and I was able to get rid of the empty row / cols .

Make sure to click around the different areas of your screen - the properties to the left are context sensitive, and you need to activate all the areas to set their margins to 0.

Good luck - it can be done, swear ; )

B


bdouglas :switzerland: (BOB member since 2002-08-29)

Hi Brent,

What ever i try, the first row and column is empty. It is possible to remove them in excel, but i wanted it to be removed when the document is saved as excel in BO.

I will give it an other try tomorrow.

Thanks for your help.

Kind Regards,

Niels


Born (BOB member since 2006-10-13)

Don’t give up, it’s out there! make sure you are using the Java editor, too - the HTML editor does not have the same choices.

I had a cheat sheet on this, but I can not find it - I am fairly sure the key is looking at the report in its output format, tho.

Good luck,
B


bdouglas :switzerland: (BOB member since 2002-08-29)

Hello everybody,

I’m still having the empty row and column problem.

I wonder if sombody knows if Excel needs the first row and column for information like “hide” “show” “lock” etc. (Maybe the problem can not be solved in BO but can be solved in Excel.)

Please let me know!

Kind Regards,

Niels

[/i]


Born (BOB member since 2006-10-13)

Try to format your table

Format / Table / Appearance

Set your Horizonal and Vertical Postions to 0 and 0. This should put your table in the top left corner. When you save to excel you shouldn’t have the extra row.

Or you might have to line up your table with your section header.


mwooldri :us: (BOB member since 2002-07-10)

I thought you cannot govern the way BO saves in excel- There may be cases where it saves a single column by merging two excel columns.
Please correct me if I am wrong!


Subah :india: (BOB member since 2005-05-17)

I thought you cannot govern the way BO saves in excel- There may be cases where it saves a single column by merging two excel columns.
Please correct me if I am wrong!


Subah :india: (BOB member since 2005-05-17)

Try saving the report as a text file and then open the text file in excel. I have done that in the past.


mwooldri :us: (BOB member since 2002-07-10)

Tor the most part, you can control the Excel output - line up your columns with the headers, set the page margins, set wrap / format of cells - Excel picks most of this up.

The “odd” things that people notice are usually based on doing something in your report that is hard to automate - for example, if you have headers on your report that do not correspond to columns underneath, that makes it difficult to make your report into a clean spreadsheet.

I’ve had a lot of these spreadsheets come across my desk, and for the most part, I have been able to clean them up from the report side. And I’m not really all that bright ; )

Good luck, keep experimenting!

Brent


bdouglas :switzerland: (BOB member since 2002-08-29)

Right Click on Table–> Format Table–> Appearance Tab
In the position options select both values as 0.
This should work!!


Subah :india: (BOB member since 2005-05-17)

mwooldri,

I want to save the report directly to Excel because it’s a import file for a other application. I want it to go automaticly by the BCA, so nobody has to create the excel file. (the other application only can work with a excel sheet which begins in cel A1)

If i save the report in txt, i have to transform the report in to Excel by hand, Thats almost as much work as just removing row 1 and column A.

Or is it possible to transform the txt file automaticly in to excel after the txt file is created?

Kind regards,

Niels


Born (BOB member since 2006-10-13)

Subah,

The way you said, i tried allready. It doesn’t work. Maybe it’s because i’m using BO reporter 6.5sp2?

Which version do you use?

Kind Regards,

Niels


Born (BOB member since 2006-10-13)

I am using version 6.5.1. What does it do when you set the position parameters to 0?
Also, before doing the above, try decreasing the margins to 0 it will autofill the values to a minimum value.
Thanks.


Subah :india: (BOB member since 2005-05-17)

Subah,

Even if all parameters are set to 0 the first row and column are shown in Excel. I don’t understand why it seems to work for you… I tried everything.

A colleaque of me also tried to save a report in excel without the first row and column. He managed to get the first row and column out of the excel file, but the report still begins in cel B2. (Row 1 and column A are only hidden in the Excel sheet)

Which cel in Excel does your report start in? (if you do all the things like you said)

Kind Regards, thanks for everyones help, and have a nice weekend!

Niels


Born (BOB member since 2006-10-13)