Saving only active sheet

P

Peter

Hi,
do you know a Sub () that can saves my active sheet with
the name of C3 Value.
Thanks in advance
Pit
 
E

Ecco

Copy the active sheet as a new workbook and then save it.
Like this:

Sub SaveActiveSheet()
ActiveSheet.Copy
ActiveWorkbook.SaveAs Filename:=Range("c3").Value
End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top