I've created an excel file. It works fine. Opens up fine.

Now I want to save this file.

Here's my current code.

VB Code:
  1. Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
  2.         Dim excel As New Excel.Application
  3.         excel.Workbooks.Add()
  4.         excel.Range("b1:c1").Select()
  5.         excel.Selection.Font.Bold = True
  6.         excel.Range("b1").Select()
  7.         excel.ActiveCell.Value = "Questions"
  8.         excel.Range("c1").Select()
  9.         excel.ActiveCell.Value = "Answers"
  10.  
  11.         excel.Visible = True

Now, I want to save the file (either before or after it is displayed to the user)

I was looking for a excel.saveFile function but can't find it.

How would I save this?
something like excel.save(application.startuppath & myvar & ".xls")

Thanks...