ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Saving only active sheet (https://www.excelbanter.com/excel-programming/272303-saving-only-active-sheet.html)

Peter[_18_]

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

Ecco

Saving only active sheet
 
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

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



All times are GMT +1. The time now is 12:08 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com