Write to an Excel file

Author Message
dawsona0526

  • Total Posts : 10
  • Scores: 0
  • Reward points : 0
  • Joined: 10/28/2005
  • Status: offline
Write to an Excel file Wednesday, February 01, 2006 10:38 AM (permalink)
0
Hello Folks,
 
I an trying to write to an Excel using Visual Basic 6. I have a form that I have created in VB; does not have functionality beyond displaying information. The trouble I am encountering is figuring out what would be my best approach. My idea would be to have either both a menu and toolbar option that the user would click to initiate this action. Once the action has been initiated the user will now see a window; kind of like what you would see if you were about to do a 'save as', the type of file should already be set and all the user has to do is simply enter a filename and specify a path. I see alot of examples showing how to open a Excel file through a VB program, but none showing how to save to one. Can anyone give me some clues/examples on how to tackle this? Thanks!
 
#1
    ebgreen

    • Total Posts : 8227
    • Scores: 98
    • Reward points : 0
    • Joined: 7/12/2005
    • Status: offline
    RE: Write to an Excel file Thursday, February 02, 2006 1:46 AM (permalink)
    0
    First, this is a VBScript forum, not a VB forum. Second, the section you posted in is for posting sample code not for asking questions. Third, searching this forum for "Excel Save" turns up a plethora of postings that detail how to save an excel sheet using VBScript which you should be able to use to point you in the right direction for a VB solution.
    "... when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick
    Goog places to start:http://www.visualbasicscript.com/m_24727/tm.htm
    http://www.visualbasicscript.com/m_47117/tm.htm
     
    #2

      Online Bookmarks Sharing: Share/Bookmark

      Jump to:

      Current active users

      There are 0 members and 1 guests.

      Icon Legend and Permission

      • New Messages
      • No New Messages
      • Hot Topic w/ New Messages
      • Hot Topic w/o New Messages
      • Locked w/ New Messages
      • Locked w/o New Messages
      • Read Message
      • Post New Thread
      • Reply to message
      • Post New Poll
      • Submit Vote
      • Post reward post
      • Delete my own posts
      • Delete my own threads
      • Rate post

      2000-2012 ASPPlayground.NET Forum Version 3.9