Sub save(control As IRibbonControl) Dim OrigName As String OrigName = ActiveWorkbook.FullName ActiveWorkbook.SaveAs "D:\macro" + "\" + ActiveWorkbook.Name MsgBox "saved in D:\macro" End Sub
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)