|  

» Add and Save new Workbook using VBA in Microsoft Excel

Place the code below into the standard module

Sub AddSaveAsNewWorkbook()
	Dim Wk As Workbook
	Set Wk = Workbooks.Add
	Application.DisplayAlerts = False
	Wk.SaveAs Filename:="C:/MyData/SalesData.xls"
End Sub


Rate This Tip
12 34 5
Rating: 3.41     Views: 95793
No comments have been submitted.
Click here to post comment
For Registered Users
Name
Comment Title
Comments