Jump to content

Recommended Posts

Posted

Creearea unui nou Workbook Excel folosind Visual Basic for Applications

Copiati acest cod in VBA in Excel si customizati calea noului fisiere din penultima linie de cod :

Sub AddSaveAsNewWorkbook() Dim Wk As Workbook Set Wk = Workbooks.Add Application.DisplayAlerts = False Wk.SaveAs Filename:="C:\MyData\fisier_nou.xls" End Sub

Sper ca te-am ajutat :)

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.