Results 1 to 5 of 5

Thread: crystal reports 9 for excel 2003

  1. #1
    Join Date
    Sep 2011
    Posts
    9

    connecting crystal report to excel vba userform

    Hai all,

    I have data in excel 2003 and I am using crystal reports 9 version to build reports. I connected the data source from excel and build a report but where I am getting a problem is, entire records are showing on the report. I need to get report pertaining to the particular "File Number" given on the excel vba userform.

    and anotherthing is it possible to modify the report in runtime ?

    I made an excel vba userform. Can I make it an executable file like VB 6.0 project to open directly the userform rather the excel datafile ? Now, what is happening, I am opening excel file and I wrote code in excel workbook open event as "me.show" But it is opening only after opening of the data sheet.

    Pls tell how to connect or open a crystal report from the excel vba userform ?

  2. #2
    Join Date
    Dec 2007
    Posts
    2,291

    Re: crystal reports 9 for excel 2003

    I think that the the old "Shell" command will be needed. You may also need to "Sendkeys" once the crystal report is opened, so you can actually print your data. In your VB editor, use the Help menu to get the actual examples needed to implement these commands. Open the "Project" menu in Visual Basic. Select "Components" and click on "Crystal Report Control." Add the Control to the report form that you have created.

  3. #3
    Join Date
    Sep 2011
    Posts
    9

    Re: crystal reports 9 for excel 2003

    Dear EINSTEIN_007

    Thank you for responding. Actually I am not using Visual Basic but using VB for Aplications ie for EXCEL. So how to deal with EXCEL VBA ?

  4. #4
    Join Date
    Sep 2011
    Posts
    9

    Re: crystal reports 9 for excel 2003

    good morning all,

    Pls suggest any sample projects to get idea of building reports in crystal reports for Excel VBA. I tried with the help topics as suggested by the community members, but I am not getting the proper path. I request one and all expert to provide your assistance in this regard. Its very urgent for me to build reports for my boss.

  5. #5
    Join Date
    Dec 2007
    Posts
    1,736

    Re: crystal reports 9 for excel 2003

    You should not replace Excel that is essentially a reporting tool for de-duping data. If the data is currently in a database, you should be able to de-dupe it using SQL. Or do you actually want to retain the duplicate data but just not display it. Incidentally, you can use VB in Crystal. Crystal also has its own form of "basic" too. I would look around for a Crystal forum for specific help though.

Similar Threads

  1. crystal reports connection to excel vba userform
    By shankar.nstl in forum Software Development
    Replies: 1
    Last Post: 01-10-2011, 03:44 PM
  2. Crystal Reports Tutorial needed
    By Miltongomes in forum Software Development
    Replies: 4
    Last Post: 29-09-2010, 12:30 PM
  3. How to create reports using Crystal Report 10?
    By Chandraa in forum Windows Software
    Replies: 4
    Last Post: 07-01-2010, 08:14 PM
  4. opensource alternative for crystal reports
    By StephanieRice in forum Software Development
    Replies: 3
    Last Post: 29-05-2009, 11:47 AM
  5. Problem with VB6 and Crystal Reports 9
    By PARRISH in forum Software Development
    Replies: 8
    Last Post: 09-02-2009, 11:26 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,012,029.77844 seconds with 16 queries