Results 1 to 2 of 2
  1. #1
    varadaradj is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Sep 2018
    Posts
    11

    Post Displaying an excel file in vb6 form


    Hi

    Earlier I've generated reports to Text Files only in VB6. I can display the contents of the Text File in a RichTextBox control in a form in VB6, where the user can preview the file or they can give printing through a command button which was placed in the form.

    But, now I'm generating reports using Excel Only. Is it possible to display an excel file generated through reports module by me. My intention is only to display the Excel file in a VB6 form where the user can scroll through the excel file (can't be modified) and/or they can print the excel.

    Alternatively, I can save the excel file to PDF file finally after generating report. Now I want to display the PDF file in a vb6 form through which the user can view and/or can print the same.

    Can anybody please help me how can I display a Excel or PDF file in a vb6 form. To do so, what controls (ActiveX) I need?

  2. #2
    Missinglinq's Avatar
    Missinglinq is offline VIP
    Windows 7 64bit Access 2007
    Join Date
    May 2012
    Location
    Richmond (Virginia, not North Yorkshire!)
    Posts
    3,018
    Quote Originally Posted by varadaradj View Post

    ...My intention is only to display the Excel file in a VB6 form...

    ...how can I display a Excel or PDF file in a vb6 form...
    I'm guessing that, despite a dozen or more members reading your post, you've received no responses is that you appear to be asking a question about Visual Basic 6...rather than about Access.

    We may have members who are versed in VB6...but your question probably belongs in a Visual Basic forum.

    Linq ;0)>
    The problem with making anything foolproof...is that fools are so darn ingenious!

    All posts/responses based on Access 2003/2007

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 11
    Last Post: 08-26-2016, 11:51 AM
  2. Replies: 5
    Last Post: 05-25-2016, 12:43 PM
  3. VBA Code to save an Excel file using a Form
    By nagiese in forum Programming
    Replies: 3
    Last Post: 10-06-2015, 02:47 PM
  4. Displaying a PDF file in a form
    By bomich in forum Access
    Replies: 1
    Last Post: 10-29-2012, 09:19 AM
  5. Replies: 1
    Last Post: 04-20-2012, 07:20 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums