Tutorials
Advanced Excel VBA Tutorial
- Connect to HP QC using Excel VBA
- Create Folder Structure in Test Lab and Pull test Cases from Test Plan
- Download Test Cases from HP QC with Design Steps
- Download Test Cases from HP QC without Design Steps
- How to connect to Access Database – ADO Connection String
- SQL Connection using Excel Macros
- Oracle Connection String in VBA
- Query Database and Spreading the Records in Excel – VBA Code
- ADO RecordCount Property – RecordSet Object
- Calculate distance between two places in Excel [With Fun]
- VBA to Add Static Google Map in Excel Sheet
40 Useful Excel VBA Code with Examples
1. Create a New Excel Workbook using Excel Macro
2. Open an existing Excel Workbook using Excel Macro
3. Close a workbook without saving the changes using Excel Macro
4. Close a workbook by saving the changes using Excel Macro
5. Save or SaveAs a workbook using Excel Macro
6. Delete a workbook using Excel Macro
7. Add a new worksheet in a workbook using Excel Macro
8. Add a worksheet at a specified position using Excel Macro
9. Rename a worksheet using Excel Macro
10. Delete a worksheet using Excel Macro
11. Change the tab color of a worksheet using Excel Macro
12. Copy a worksheet within same workbook using Excel Macro
13. Copy a worksheet as a new Workbook using Excel Macro
14. Copy a worksheet by providing sheet name of your choice using Excel Macro
15. Hide a worksheet using Excel Macro
16. Hide all worksheets except activeSheet using Excel Macro
17. Unhide a worksheet using Excel Macro
18. Unhide all worksheets in a workbook using Excel Macro
19. Check if a sheet with particular name exists in a workbook using Excel Macro
20. Sort all worksheet alphabetically using Excel Macro
21. Insert a row in a worksheet using Excel Macro
22. Insert a column in a worksheet using Excel Macro
23. Delete a row in a worksheet using Excel Macro
24. Delete a column in a worksheet using Excel Macro
25. Hide a row in worksheet using Excel Macro
26. Hide a column in worksheet using Excel Macro
27. Unhide a row in worksheet using Excel Macro
28. Unhide a column in worksheet using Excel Macro
29. Copy and insert copied row before a specific row using Excel Macro
30. Copy and insert copied column before a specific column using Excel Macro
31. Protect a worksheet without any password using Excel Macro
32. Protect a worksheet with a password using Excel Macro
33. Unprotect a protected worksheet using Excel Macro
34. Unprotect a password protected worksheet using Excel Macro
35. Protect a workbook with password using Excel Macro
36. Open a password protected workbook using Excel Macro
37. Clear contents of a Range without clearing formatting using Excel Macro
38. Clear content of a range with formatting using Excel Macro
39. Clear contents of a worksheet using Excel Macro
40. Clear all the comments using Excel Macro
Send Email Tutorials
- Send Sheet as a PDF attachment in Email
- How to Send Chart Picture as an Attachment in email
- How to Send Chart Picture embedded in email Body
- How to Send more than one sheet of the current workbook in email(Send more than One Sheet)
- How to Send email with the Active Sheet attached in the mail. (Send One Sheet)
- How to Send an Email using Excel Macro from Gmail or Yahoo
- How to send email from Excel Macro from Outlook
- How to Send ActiveWorkbook as attachment in Email
- Excel Macro Application to Send Multiple Emails (Download available)
- How to Send Email Automatically from Excel (Download available in the Article)
- How to insert Outlook Signature in Email by Excel VBA
- How to Send a HTML Email using Word Email Template using Excel Macro
- Send Image of a Range from Excel embedded in Mail [Inline Image in Mail]
VBA Programming Tutorial
- VBA Programming : Variables in Excel VBA
- Implicit and Explicit declaration of variables in Excel Macro
- Important : Declaring multiple Variables with one Dim Statement
- For Next Loop in Excel Macro
- While Loop and Do While Loop in Excel VBA
- VBA Programming : If Then Statements / If else Statements
- VBA Programming : Decision – Select Case in Excel VBA
Tutorial for Beginners
- What is Excel Macro ?
- How to Record / Run Excel Macro ?
- How Add Developer’s Tab in Excel 2007 / 2010
- How to add different types of controls like Text Box, Radio button, button etc. in Excel
- Visual Basic Editor in Excel
- VBA Control Property
- How to write Excel Macro – Your First Excel Macro
- How to Run you code in Debug Mode?
- What is Break Point and how to use it?
- What is Compile Error?
- Excel Macro Tutorial : Excel User Form
- VBA Spin Button
- Toggle Button in Excel
- ComboBox / Drop Down List In Excel
- ListBox In Excel
- How to Open Excel Workbook using Excel Macro
- Using RANGE Object in Excel Macro
- What is difference between CELLS() and RANGE()
VBA: Reverse a string
It is very easy to get the Reverse of a string entered by user in Excel VBA by using VBA inbuilt functionality....
Data Anonymizer: Open Source to Anonymize Personal Data
In the ever-evolving landscape of software development, safeguarding personal data is paramount. Whether you're a...
Custom Excel Formula to Count based on Color
Dear Readers, Last Friday, my wife, Shagun Sharma, who is a Vlogger shared an excel sheet with some data and a problem...