Save only 9 of 18 sheets

  • Thread starter Thread starter Guest
  • Start date Start date
Ron
Thank You for all your help. I really appreciate it. I figured out the
command button. It was Userform1 . Show
This app is really staring to take shape!
Thanks Again
RobJ
 
Hi rob

You use a cell from the sheet CASH in your save line.
If you not select this sheet in the userform to copy to a new workbook
it can't find that cell.

You can use this to avoid this problem


ActiveWorkbook.Worksheets(arr).Copy

strdate = Format(Now, " mm-dd-yy")
With ActiveWorkbook
.SaveAs "C:\" & ThisWorkbook.Sheets("CASH ").Range("C5").Value & strdate & ".xls"
.Close False
End With
 
Back
Top