zerog
asked on
Save specific Sheet from Excel Workbook
I'm using the following to save an Excel file. How would I modify this to only save the active sheet only and not the whole workbook. Also it doesn't prompt the user to choose a location where they would want to save it.
Sub save_sheet()
ActiveWorkbook.SaveAs activeworkbook.path & "\Test " & month(Date) & "-" & day(Date) & "-" & year(Date) & ".xls"
End Sub
Sub save_sheet()
ActiveWorkbook.SaveAs activeworkbook.path & "\Test " & month(Date) & "-" & day(Date) & "-" & year(Date) & ".xls"
End Sub
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER