home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Programmer'…arterly (Limited Edition) / Visual_Basic_Programmers_Journal_VB-CD_Quarterly_Limited_Edition_1995.iso / code / ch28code / xltest.frm (.txt) < prev    next >
Encoding:
Visual Basic Form  |  1995-07-30  |  1.3 KB  |  44 lines

  1. VERSION 4.00
  2. Begin VB.Form frmXLTest 
  3.    Caption         =   "Report to Excel Class Test"
  4.    ClientHeight    =   735
  5.    ClientLeft      =   1140
  6.    ClientTop       =   1515
  7.    ClientWidth     =   3870
  8.    Height          =   1140
  9.    Icon            =   "XLTest.frx":0000
  10.    Left            =   1080
  11.    LinkTopic       =   "Form1"
  12.    MaxButton       =   0   'False
  13.    ScaleHeight     =   735
  14.    ScaleWidth      =   3870
  15.    Top             =   1170
  16.    Width           =   3990
  17.    Begin VB.CommandButton cmdSend2XL 
  18.       Caption         =   "Insert Access Data into Excel...."
  19.       Height          =   495
  20.       Left            =   120
  21.       TabIndex        =   0
  22.       Top             =   120
  23.       Width           =   3615
  24.    End
  25. Attribute VB_Name = "frmXLTest"
  26. Attribute VB_Creatable = False
  27. Attribute VB_Exposed = False
  28. Option Explicit
  29. Private clsR2XL As New clsReportToXL
  30. Private Sub cmdSend2XL_Click()
  31.     frmReturn.Display Me
  32.     clsR2XL.ReportToExcel App.Path & "\bugs.mdb"
  33. End Sub
  34. Private Sub Form_Load()
  35.     Move (Screen.Width - Width) / 2, (Screen.Height - Height) / 2
  36. End Sub
  37. Private Sub Form_Unload(Cancel As Integer)
  38.     DestroyObject
  39.     End
  40. End Sub
  41. Public Sub DestroyObject()
  42.     Set clsR2XL = Nothing
  43. End Sub
  44.