CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    May 2001
    Posts
    46

    Save data to Excel format

    Hi all,

    I have some calculated data from a SQL in VB, kept in a structure, is there a way that I can save that data into an .xls file?.

    If someone knows how to do it, can you give me some advice and perhaps some sample code?.

    Thanks in advance.

    Alejandro.



  2. #2
    Join Date
    May 2001
    Location
    domodossola,italy
    Posts
    10

    Re: Save data to Excel format

    add to your projetc a reference to Excel library
    type in
    dim myXls as Excel.Application
    Put caret over excel.application and press F1


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured