I've seen various threads where many different variations of what I'm trying to do are explained but all seem to be just a tad bit different. What I'm trying to accomplish is write a script that will copy columns A:L in the active worksheet and paste into a new workbook. I would also like to receive the save as prompt with prefilled filename and file type(xlsx). After saving the new file, I would like to close it and be brought back to the previous active sheet. Not very far along as you see in the code below but its a start. Thanks
Code:
Sub AssessSave()
Sheets("Overdue Assessments").Copy
Application.Dialogs(xlDialogSaveAs).Show
ActiveWorkbook.Close
End Sub
Last edited: