Skip to Content
author's profile photo Former Member
Former Member

Column headings move left when exporting to Excel

Does anyone know of a work around for this? I have a couple of reports that when they are exported to excel the column heading moves to the left, and for that matter there are some small blank columns inserted as well.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Oct 10, 2008 at 08:52 PM

    Can you clarify, are you exporting to excel? Or Excel (data only)?

    In the case of an export to excel, it exports the report objects in a WYSIWYG format, that does some crazy column merging and adds all kinds of spaces and things into the data to attempt to as closely as possible match what you see in Crystal.

    IMHO, the excel export is pretty much useless. You might as well export to PDF.

    now, if you're exporting to excel (data only) and you're seeing a shift in your column headers from your data, then it generally means one of two things:

    1) your columns don't line up exactly

    or

    2) There is a mismatch between the number of column headers, and the number of data columns. For example, you may have a group name, or another field that doesn't line up with the header, and Crystal is atempting to rationalize the headers.

    Ensure that all of your data columns have companion header entries, even if they're blank. Also, use the multi-select, right click to align field lefts, and 'same width' them.

    hope that helps.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 10, 2008 at 05:16 PM

    Insert a text object with blanks to the left of your first column header - especially if you have a first column that doesn't have headers.

    Are you using the Constant Column Width option?

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 10, 2008 at 05:39 PM

    This is when exporting from InfoView and now that i take a closer look at it, it could be that all the 2nd through 8th columns are shifting to the right because the headers are all aligned correctly on their row. I did try your suggestion of entering a blank text field and that did not make a difference.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.