View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.programming
alistair01[_2_] alistair01[_2_] is offline
external usenet poster
 
Posts: 1
Default Saving and copying results

Here is what ive done so far:
Sub Report()


Dim Nm As String
If MsgBox("Do you want to create report?", vbQuestion + vbYesNo)
vbYes Then

Set newBook = Workbooks.Add
With newBook
.Title = "Report" & Now()
.SaveAs Filename:="Report" & Now()

Nm = newWb.Name
MsgBox "New Report Created and Saved As" & Nm

End If

Think ive missed somthing out and im not too sure about vba can anyon
help

--
Message posted from http://www.ExcelForum.com