ActiveReport and Excel

Posted on 2002-06-20
Last Modified: 2007-12-19
HI, i am trying to export an ActiveReport to Excel. But when i do this, the columns showed are not aligned. Besides one cell shows "####" value instead of the real  (numeric)value. Any suggestions?
Question by:mltolun
LVL 16

Accepted Solution

Richie_Simonetti earned 100 total points
ID: 7097449
Those symbols appear because width of cell is not enought to show the complete number.
You could use autofit method of collumns/rows object but we need to know how do you manage excel in first place.

Expert Comment

ID: 7097450
Please close your open questions:-
Questions Asked 11
Last 10 Grades Given A A B A B B  
Question Grading Record 6 Answers Graded / 6 Answers Received

Author Comment

ID: 7097512
rpai: i am working on it. SORRY

Richie Simonetti: when watch the cell properties, the format of the cell is changed. when i change it to general, the number appeared. What about the column alignment? any suggestions??

Expert Comment

ID: 7098494
I use ActiveReports as well and have not been able to get the Excel export to work exactly right.  Sometimes it just does not export the report exactly right.  I have not been able to find anything in KB.  I don't know if there is much you are going to be able to do.  Can you try to make minor modifications to the report and see if that helps?

(Of course, I'll be listening to see if anyone has a  solution) :)
LVL 16

Expert Comment

ID: 7098535
To me, it depends on how do you manage final excel file.
I didn't use ActiveReport so i think you could open Excel file with Automation and do a complete custom view of it (cell formatting, color, bold alignment and so on).
Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!


Expert Comment

ID: 7098560
Richie, you are saying to open Excel after the export and format it correctly?
LVL 16

Expert Comment

ID: 7098715

Expert Comment

ID: 7098757
I think Richie has the best solution.  There is no way to modify the Excel export in Active Reports.  There are no properties to set.  It is one call.  It either exports correctly or it doesn't.  I don't see any other alternative except to continue to look for updates of the Excel export for ActiveReports.
LVL 16

Expert Comment

ID: 7098915
Optionally, and if you open the same reports over and over again, we could have templates with all formatting stuff and populate the excel template with data from report (not a good solution since you have to recreate the report in Excel but, in the other side, nou using reports at all and using excel instead could be a way)
Don't forget that excel supports copyfromrecordset method of Range object so, populate an excel sheet with sthe same source recordset as the report should not be so hard.
LVL 49

Expert Comment

ID: 7923681
Hi mltolun,
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will ask a Community Support Moderator to:

    Accept Richie_Simonetti's comment(s) as an answer.

mltolun, if you think your question was not answered at all or if you need help, just post a new comment here; Community Support will help you.  DO NOT accept this comment as an answer.

EXPERTS: If you disagree with that recommendation, please post an explanatory comment.
DanRollins -- EE database cleanup volunteer

Expert Comment

ID: 7968415
per recommendation

Community Support Moderator @Experts Exchange

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Adding to a VBA? 6 49
Run code from text file in vb 1 33
message box in access 4 34
Spell Check in VB6 13 52
There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now