Hey LPlates thanx for the link. I just have a question on the code:
Option Explicit
Dim objExcel As Object ' Excel application
Dim objBook As Object ' Excel workbook
Dim objSheet As Object ' Excel Worksheet
Private Sub cmdCalculate_Click()
Set objExcel = CreateObject("excel.application"

'Starts the Excel Session
Set objBook = objExcel.Workbooks.Add 'Add a Workbook
Set objSheet = objBook.Worksheets.Item(1) 'Select a Sheet
objExcel.application.Visible = True
Rem Fill in the row labels.
objExcel.application.Cells(1, 2).Value = "Tuition and Fees"
objExcel.application.Cells(2, 1).Value = "Books and Supplies"
objExcel.application.Cells(3, 1).Value = "Board"
objExcel.application.Cells(4, 1).Value = "Transportation"
objExcel.application.Cells(5, 1).Value = "Other Expenses"
objExcel.application.Cells(7, 1).Value = "Total"
Rem Fill in the values
objExcel.application.Cells(1, 3).Value = Text1.Text
objExcel.application.Cells(2, 3).Value = Text2.Text
objExcel.application.Cells(3, 3).Value = Text3.Text
objExcel.application.Cells(4, 3).Value = Text4.Text
objExcel.application.Cells(5, 3).Value = Text5.Text
objExcel.application.Cells(7, 3).Formula = "=sum(c1:c5)"
objExcel.application.Cells(7, 3).Font.Bold = True
Text6.Text = objExcel.application.Cells(7, 3).Value
'objExcel.Application.Visible = False
End Sub
Private Sub cmdSave_Click()
objBook.SaveAs "c:\expenses.xls"
objBook.Close
objExcel.Quit
Set objSheet = Nothing
Set objBook = Nothing
Set objExcel = Nothing
End Sub
Private Sub cmdQuit_Click()
Set objExcel = Nothing
End
End Sub
How do I add to the spreadsheet, without overwriting the data thats already on it?