BLOG
VBA Code to Delete File
EXCEL VBA TRICKS

VBA Code to Delete File

In this article we are going to show you how you can delete file or files using a single line of VBA code. 1. Delete a specific file from the folder, 2. Delete specific type of files from the folder, 3. Delete all files from the folder

Read More
VBA Code to Add Border to Excel Range
EXCEL VBA TRICKS

VBA Code to Add Border to Excel Range

Through formatting the cells, you can make your Excel data more beautiful and easier to understand. If you record a macro to add borders to Excel range, you will notice that it generates 30 plus lines of code for just a small work. Here we are sharing one line of code which does the same thing.

Read More
Conditional Formatting
VIDEOS

Video_How to Use Conditional Formatting?

This video will help you to understand how you may use conditional formatting to highlight row based on conditions. Subscribe us for more updates

Read More
Protect Excel Sheet for Manual Input
EXCEL VBA TRICKS

VBA Code to Protect Excel Sheet for Manual Input but Allow Programming Inputs

Did you come across any requirement where you want the user to interact with a sheet only through VBA Form? Here is a simple code which can help you.

Read More
VBA Code to Add Items in ListBox Control in Userform
EXCEL VBA TRICKS

VBA Code to Add Items in ListBox Control in Userform

Using ListBox in Userform is very common. You can use ListBox.AddItem function to add items in the listbox.; however, it is little difficult to add items in Listbox when the number of columns are more than one. Here is a sample VBA code to help you ‘Event handler to add …

Read More
Find Duplicate
EXCEL TRICKS

Find Duplicates in Excel

Hope you read the post “Remove Duplicates in Excel”. Now I am going to explain how you can find these duplicates. There are multiple methods available to Find and Remove duplicates. So you may watch my detailed video on “Complete Guide for Handling Duplicates” Here I will be explaining one …

Read More
42.5 Remove Duplicates
EXCEL TRICKS

Remove Duplicates in Single Column

When you see duplicate data in single column, you may follow this article to remove these duplicates with few clicks. If you see below screenshot, I have duplicates available in my Column A which are highlighted in yellow: Highlight/Select the Column A, similar to shown in below screenshot: Go To …

Read More
Overview of Excel
VIDEOS

Chapter 1: Overview of Excel

We created this small video for you to understand how this Excel looks like and how it works. This will help you to understand Excel Fundamentals. This video also demonstrates that how you can perform charting, use excel functions. Please subscribe to my blog and youtube to keep yourself updated…Please …

Read More
VBA Code to Find Duplicate Files
EXCEL VBA TRICKS

VBA Code to Find Duplicate Files

Yesterday I was working on my computer and cleaning the drives to make some more space.  I was surprised to see so many files saved at multiple places which was consuming huge space of my computer drives. One of the biggest tasks was to identify such duplicate files. Initially I …

Read More
VBA Code to Find Last Column or Row of a Sheet
EXCEL VBA TRICKS

VBA Code to Find Last Column or Row of a Sheet

Sometimes as a developer, you need to take actions in Excel sheets based on last row or column. In Excel, there are two kinds of last cells available: The last cell of the sheet which is XFD1048576 for Excel 2007 or above and IV65536 for Excel 2003 The last used …

Read More
VBA Code to Read Excel Data using Connection String
EXCEL VBA TRICKS

VBA to Read Excel Data using Connection String

Sometimes as a programmer you need to read heavy (more then 5 MB) Excel files. There are two ways you can read data from Excel files: Open the file using VBA and read the data. Click Here Stablish ADODB connection with Excel file and read data using SQL queries Here …

Read More