Bagharmin
Board Regular
- Joined
- Nov 22, 2010
- Messages
- 168
I found plenty of posts regarding naming/renaming a worksheet, but I couldn't find one that addressed how to create and name a new workbook. I tried some very simple code:
However, Excel tells me that Name is a read-only property of ActiveWorkbook. How do I just name my new workbook? I know I can do ActiveWorkbook.SaveAs and give it a filename, but I'm not at the point in my code where I want to do that.
All help is greatly appreciated.
Code:
Workbooks.Add
ActiveWorkbook.Name = "Combined Data"
However, Excel tells me that Name is a read-only property of ActiveWorkbook. How do I just name my new workbook? I know I can do ActiveWorkbook.SaveAs and give it a filename, but I'm not at the point in my code where I want to do that.
All help is greatly appreciated.