Welcome to the Forum!
First a couple of notes. We have a forum specifically for VBA issues, so I have moved the thread there. Second, your PHP tag gets the job done but you'll see that it also provides color coding that you may or may not find useful. We also have a CODE tag that preserves spacing without color coding.
Now then, I have made the change below as highlighted and have tested it. Close allows you to save the file with a different name but offers no option for selecting a different format. To do that you must use SaveAs, and then Close afterwards. xlExcel8 means Excel 97-2003, and is a built-in constant with a value of 56.
Note that the code you provided copies Row 1 as a header into all the split files. I'm assuming that's what you want.
Bookmarks