Excel Macro to Create a New Excel Workbook File एक्सेल मैक्रो एक नई एक्सेल वर्कबुक फाइल बनाने के लिए
👍 Use the following Excel VBA code to create a new Excel Workbook and save it as a given path as shown in the below code.
एक नई एक्सेल वर्कबुक बनाने के लिए निम्नलिखित एक्सेल वीबीए कोड का उपयोग करें और इसे दिए गए मार्ग के रूप में सहेजें जैसा कि नीचे दिए गए कोड में दिखाया गया है।
Sub CreateNewExcelWorkbook()
Dim wb As Workbook
Set wb = Workbooks.Add
' now if you want to save this new workbook
' save it by providing the full name of the file
wb.SaveAs "D:\abc\temp.xlsx"
End Sub
Comments
Post a Comment
Your advice or suggestions will be much appreciated and welcomed....