VBA Code to Count Cells by Color
VBA TRICKS

VBA Code to Count Cells by Color

Have you ever felt that Microsoft should have added a formula in Excel which can count the cells based on specific color? I have seen many code requests to share a VBA code that can count the cells by its color. To help our subscribers and developers, we are sharing 2 codes that be used to count the cells with specific color and returns the count of the matching color cells.

Read More
VBA Code to Sum Cells by Color
VBA TRICKS

VBA Code to Sum Cells by Color

Recently some of our subscribers have requested us to share a VBA code that can sum the cells by its color. To help our subscribers and developers, we are sharing 2 codes that be used to sum the cells with specific color and returns the total sum of the matching color cells

Read More
Time and Motion Study Thumbnail
FREE VBA UTILITIES
41

Time and Motion Study – Complete Guide

Here is one more wonderful free tool from ExcelSirJi.com which makes your life easy. Time & Motion Tracker helps you to track Start and End time of any type of transaction or activity. The good thing is, it is VBA based tool which helps you to protect from manual manipulation in the data by the user. It is also easy to use, just click on Start (shortcut: Ctrl+Shift+A) or Stop (Ctrl+Shft+S) buttons to record the time

Read More
VBA Code to Delete File
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
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
Protect Excel Sheet for Manual Input
VBA TRICKS

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
Protect Excel Sheet for Manual Input
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 here.

Read More
VBA Code to Add Items in ListBox Control in Userform
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
VBA Code to Find Duplicate Files
FREE VBA UTILITIES

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
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
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

Privacy Preference Center

Necessary

Advertising

Analytics

Other

error

Like the Article? Please spread the word :)

Facebook
Facebook
YouTube
YouTube
Pinterest
Pinterest
LinkedIn