Please read the VBEditor's helpfiles on SaveAs, especially the arguments.

Do not copy VBA, nor use it 'blindly'.