Link to home
Create AccountLog in
Avatar of zerog
zerogFlag for South Africa

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
ASKER CERTIFIED SOLUTION
Avatar of PortletPaul
PortletPaul
Flag of Australia image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of zerog

ASKER

Useful link with solution