Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Sub SaveSheetAsCSV()
- Dim theName As String
- On Error GoTo Line1
- For Each sht In ActiveWindow.SelectedSheets
- sht.Copy
- theName = "η΅ε°θ·―εΎ" & sht.Name & ".csv"
- ActiveWorkbook.SaveAs Filename:=theName, FileFormat:=xlCSV
- ActiveWindow.Close
- Next
- Line1:
- End Sub
Advertisement
Add Comment
Please, Sign In to add comment