Some Common Errors In Excel

Why error comes in excel during working ? काम करने के दौरान एक्सेल में Errors क्यों आती है?   For example, If we want to add numeric value, then both value should be numeric, for example =2+5, then output will be 7, but if add text value with number then excel will give error, =2+”Mouse”, then excel will give error.   उदाहरण के लिए, यदि हम numeric value को जोड़ना चाहते हैं, तो दोनों value numeric होना चाहिए, उदाहरण के […]

Read more

Count Open Workbooks

Count Number of Open Workbooks In Excel with Macro. मैक्रो से एक्सेल में open workbook की संख्या की Count करें।   Sub Name_of_Openwork() For Each Workbook In Workbooks Next Workbook End Sub   This code will identify all open workbooks. यह कोड सभी खुली workbook की पहचान करेगा . Sub Name_of_Openwork() For Each Workbook In Workbooks Msgbox workbook.name Next Workbook End Sub Msgbox will display all open workbooks name. Msgbox सभी खुली workbook ka नाम प्रदर्शित करेगा। Now I have to count, […]

Read more

Index Function In Excel-1

INDEX   This function picks a value from a range of data by looking down a specified number of rows and then across a specified number of columns.   यह फंक्शन एक डाटा के दिए गए range से नीचे की ओर से number of rows और फिर दिए गए columns से डाटा उठाता है.   Syntax There are various forms of syntax for this function. इस फंक्शन के लिए अनेक प्रकार का syntax है.   Syntax 1 =INDEX(RangeToLookIn, Coordinate)   […]

Read more

Function to Extract first name

To make a Function in Excel VBA Macro to Extract First Name Excel VBA में एक फंक्शन बनाना है, जो First Name या word को किसी सेल से निकाले.   When we make a macro then we type Sub then macro name like copydata, example given below. जब हम Macro बनातें हैं, तो हम Sub से स्टार्ट करते हैं, फिर मैक्रो का नाम देते हैं. उदाहरण के लिए Sub copydata() End Sub But when we make any function in excel vba then […]

Read more

Copy All Sheets Data In Master_Sheet

Copy All Sheet Data In Master_Sheet   I have excel file which has 3 sheet,From below vba macro code we can copy all sheets data in master Sheet.   मेरे पास तीन sheet वाली excel फाइल है.निचे लिखे VBA Macro Code से हम सारे  sheets का डाटा Master Sheet में copy कर सकते हैं. Sub Add_All_sheet_Data() sheetcount = Sheets.Count Worksheets.Add after:=Sheets(Sheets.Count) ‘Worksheets.Add after:=Sheets(Sheetcount) ActiveSheet.Name = “Master” For i = 1 To sheetcount Sheets(i).Activate Range(“a1”).CurrentRegion.Select Selection.Copy Sheets(“Master”).Activate Range(“a1048576”).End(xlUp).Offset(1, 0).Select ActiveSheet.Paste If […]

Read more