Jump to content

Recommended Posts

Posted

Cum sa creezi foarte simplu un nou Workbook Excel folosind Visual Basic for Applications

Nimic mai simplu.
Copiati codul de mai jos in VBA in Excel si customizati calea noului fisiere din penultima linie de cod.
Bafta

 

1). Sub AddSaveAsNewWorkbook()2). Dim Wk As Workbook3). Set Wk = Workbooks.Add4). Application.DisplayAlerts = False5). Wk.SaveAs Filename:="C:\MyData\fisier_nou.xls"6). End Sub
Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

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