Skip to main content

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

Popular posts from this blog

What is Excel ? एक्सेल क्या है ?

Excel is a spreadsheet application which have rows and columns to organize data. We can easily organize and analysis data in excel. एक्सेल एक स्प्रेडशीट एप्लिकेशन है जिसमें डेटा व्यवस्थित करने के लिए पंक्तियां और कॉलम हैं। हम एक्सेल में आसानी से डेटा व्यवस्थित और विश्लेषण कर सकते हैं।

Excel Shortcut Keys एक्सेल शॉर्टकट कुंजी

Create New Workbook नई कार्यपुस्तिका बनाएं Ctrl + N Open Workbook कार्यपुस्तिका खोलें Ctrl + O Save Workbook कार्यपुस्तिका सुरक्षित करे Ctrl + S Save As के रूप में सुरक्षित करें F12 Print File फ़ाइल छापें Ctrl + P Open Print Preview Window प्रिंट पूर्व विंडो खोलना Ctrl + F2 Close Current Workbook वर्तमान कार्यपुस्तिका बंद करें Ctrl + F4 Close Excel एक्सेल बंद करें Alt + F4

Insert Multiple Blank Row मल्टीपल ब्लैंक रो डालें

👍  If you ever need to insert multiple blank rows into your data, doing it manually could be very time consuming if you have a large data set. Here’s a quick way to do this by inserting a blank row into your data after every Nth record. यदि आपको कभी भी अपने डेटा में कई रिक्त पंक्तियों को सम्मिलित करने की आवश्यकता होती है, तो मैन्युअल रूप से ऐसा करने में बहुत समय लग सकता है यदि आपके पास एक बड़ा डेटा सेट है। हर Nth रिकॉर्ड के बाद आपके डेटा में एक रिक्त पंक्ति सम्मिलित करके ऐसा करने का एक त्वरित तरीका है। Add a column  to the right of your data. If the helper column is in  E1 , then add this formula into  E2  and copy it down to the end of the data. Change N to a number (5 if you want every 5th row etc…). =MOD(ROW(E2)-ROW($E$1)-1,N) Now  highlight  the whole column. Go to the  Home  tab in the ribbon. In the  Editing  section, press the  Find & Select  button. In the drop down menu, select  Find . You ...