Add Workbook with specified name

T

Todd Huttenstine

Hey guys

I am trying to create a workbook called "Ops Reports
Temporary". Its not working. What should it be?

Dim WB As Workbook
Set WB = Workbooks("Ops Reports Temporary").Add


Thanx
Todd Huttenstine
 
R

Ron de Bruin

Try this

Dim WB As Workbook
Set WB = Workbooks.Add
WB.SaveAs "Ops Reports Temporary.xls"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top