dcsimg
Results 1 to 3 of 3

Thread: Questions Regarding Excel Spreadsheet vs. VB6

Hybrid View

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Dec 2008
    Location
    St. John's, Newfoundland, Canada
    Posts
    965

    Questions Regarding Excel Spreadsheet vs. VB6

    I am wondering, how do I add entries to an Excel Spreadsheet using a VB6 application? Also, how do I sort by high number, then by date, then by name? And how do I retrieve an entry from an Excel Spreadsheet using a VB6 application?

    I did create a Database object on the form, and I know how to add the Excel 3.0 to Excel 8.0. But if anyone can answer these questions, I would appreciate it very much, please. Thanks.

  2. #2
    PowerPoster
    Join Date
    Dec 2004
    Posts
    24,715

    Re: Questions Regarding Excel Spreadsheet vs. VB6

    see the tutorial in the faq thread at the top of the office development forum
    or search on si thegeek tutorial

    Also, how do I sort by high number, then by date, then by name?
    is this to sort in vb6, or to sort a range in a worksheet?
    i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
    Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next

    dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part

    come back and mark your original post as resolved if your problem is fixed
    pete

  3. #3
    Wall Poster TysonLPrice's Avatar
    Join Date
    Sep 2002
    Location
    Columbus, Ohio
    Posts
    3,405

    Re: Questions Regarding Excel Spreadsheet vs. VB6


Posting Permissions

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



Featured


Click Here to Expand Forum to Full Width