Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. Visual Basic
  4. Generating an Excel spreadsheet from vb.net forms!

Generating an Excel spreadsheet from vb.net forms!

Scheduled Pinned Locked Moved Visual Basic
helpquestioncsharp
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    China Gary
    wrote on last edited by
    #1

    Any help/guidance with this would be much appreciated! Im working on developing a system that ultimately generates a timetable of events, much like an timetable for a track event, allocating people to lanes etc.. I need to be able to generate an Excel spreadsheet that is populated with the data that is held within my text boxes and labels in my forms, all Strings btw. Is there a way that i can submit an event/race to the spreadsheet, go back and submit another race that will appear underneath the race already submitted, without overwriting what is already in the spreadsheet?? I would be very grateful for help here, and have explained it as i see the nature of the problem! Thanks

    A 1 Reply Last reply
    0
    • C China Gary

      Any help/guidance with this would be much appreciated! Im working on developing a system that ultimately generates a timetable of events, much like an timetable for a track event, allocating people to lanes etc.. I need to be able to generate an Excel spreadsheet that is populated with the data that is held within my text boxes and labels in my forms, all Strings btw. Is there a way that i can submit an event/race to the spreadsheet, go back and submit another race that will appear underneath the race already submitted, without overwriting what is already in the spreadsheet?? I would be very grateful for help here, and have explained it as i see the nature of the problem! Thanks

      A Offline
      A Offline
      andyharman
      wrote on last edited by
      #2

      Try http://support.microsoft.com/kb/316934[^] It allows you to treat MS-Excel like a database table so that you can append new records. Alternatively, if you create an HTML file then rename it to have a ".XLS" extension then Excel will treat it like any normal spreadsheet.

      C 1 Reply Last reply
      0
      • A andyharman

        Try http://support.microsoft.com/kb/316934[^] It allows you to treat MS-Excel like a database table so that you can append new records. Alternatively, if you create an HTML file then rename it to have a ".XLS" extension then Excel will treat it like any normal spreadsheet.

        C Offline
        C Offline
        China Gary
        wrote on last edited by
        #3

        Thanks, ill try it out! Appreciate the help! :)

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups