This tutorial explains how to loop worksheets in the same workbook, and delete worksheet, add worksheet based on worksheet name
You may also want to read:
Loop workbooks in folders and subfolders
Excel VBA select multiple worksheets
Excel VBA loop worksheets in the same workbook
Loop though worksheets in the same workbook is useful when combined with If...Else statement. For example, you can loop worksheets to see which worksheet name contains a text in order to delete it, or add a wo...
Read More
Unit 0 – Excel VBA Tricks
VBA Excel Consolidate survey data
This tutorial explains how to use VBA Excel to consolidate survey data.
Excel VBA Consolidate worksheets into one worksheet
Excel VBA consolidate multiple workbooks into one workbook
Excel VBA combine worksheets columns into one worksheet
VBA Excel Consolidate survey data
It is very difficult to describe what I meant to consolidate survey data, take a look at the below picture.
The goal is to consolidate survey data as below. Normally, if you create online survey with Google, the r...
Read More
Auto Open Excel with Windows Task Scheduler
Auto Open Excel with Windows Task Scheduler
Windows Task Scheduler allows you to trigger an event in Windows when specific criteria is met. In this tutorial, I will not detail what you can do with Task Scheduler (since there are too many features), instead I will focus on how you can auto open Excel with Windows Task Scheduler.
Since I am using Chinese Windows but I want to write this article in English, all the screenshots are copied from the below website.
http://www.sevenforums.com/tut...
Read More
Use VBA Excel Function to sort data in ascending order
This Excel tutorial shows how to use custom VBA Excel Function to sort data in ascending order instead of using Filter.
You may also want to read
Sort data using custom Function by assigning number to Text
Sort data using Range Sort Method
Sort data using Table AutoFilter
Sort data using Worksheet AutoFilter
Use VBA Excel Function to sort data in ascending order
In this tutorial, I will show how to use VBA Excel Function to sort data instead of using Filter.
This was origin...
Read More
VBA Access Excel Remove duplicates in text
This tutorial provides a custom Access Excel VBA Function to remove duplicates in text, parameters provide flexibility of case sensitivity and delimiter
You may also want to read:
Access Excel Scripting Dictionary store unique array item
VBA Access Excel remove duplicates in text
This tutorial is to help you to remove duplicates in text (in a Cell), but it is not about removing duplicated Cell value in a column. To remove duplicated Cell value in a column, highlight the column, navigate ...
Read More
VBA Excel combine columns depending on header name
Excel Combine columns depending on header name using VBA
I have seen many times that people ask questions related to this topic, below are some examples
1) To copy specific columns and paste to another workbook
2) To distribute reports from a master table
2) To group specific columns to apply the same formatting
In this tutorial, I will explain how to combine columns using different methods.
Example 1 - when column name or number is unknown
Scenario: In a worksheet called "maste...
Read More
Access Excel VBA extract number from text or extract alphabet
This tutorial shows several Access Excel VBA custom functions to extract number from text, extract alphabet from text, extract symbols from text
Excel Access VBA extract percentage from text
Excel Extract Time from Date Time or Extract Date
Access Excel extract file name from file path
Access Excel VBA extract number from text or extract alphabet from text
In this article, I will show a list of custom Functions to perform the following tasks.
- Check if a text contains any alphabet, ...
Read More
Excel VBA Extract columns to new workbook
Excel VBA Extract columns to new workbook
This was originally a question raised in Microsoft Community and was answered by me.
I copied the original question below.
I'm sure my issue is not unique. I have a excel document with hundreds of columns and only want about a dozen of them. I need to be able to extract specific
columns to a new excel sheet as a repeated process without manual intervention.
All I need is to pull certain columns into a new excel sheet from an excel document t...
Read More
Excel Auto run Macro when workbook is opened
Excel Auto run Macro when workbook is opened
Excel Auto Run Macro is used when you need to call a Sub Procedure or run your actions when an Workbook is opened. For example, you can set special hotkey for Workbook when a Workbook is opened.
One common use of Excel Auto run Macro is that people make application in Excel User Form and they want the Form look like a non-Excel, real Windows application. When user opens the Workbook, a Form pops up and the Excel application (the Excel background) ...
Read More