Excel VBA Indentation and Auto Indent

Excel VBA Indentation and Auto Indent
What is Excel VBA Indentation? Indentation represents some spaces at the beginning of a new row of sentence. Indentation is not a word reserved for VBA, it is a word that also appears in Microsoft Word, Excel spreadsheet and even Powerpoint. Indentation is also used for all kinds of computer programming. In VBA coding, indentation is not mandatory, which means it does not cause compile error i...
Read More

Excel VBA LEN Function to measure length of text

Excel VBA LEN Function to measure length of text
This Excel VBA tutorial explains how to use LEN Function to measure length of text. Excel VBA LEN Function Excel VBA LEN Function is to measure the length of text, to be more precise, the number of characters in a text. LEN Function is most useful as a tool for data validation where length of text always have limit in a system. LEN Function is also commonly used in conjunction with other...
Read More

Excel LEN Function to measure length of text

Excel LEN Function to measure length of text
Posted on
What does Excel LEN Function do? Excel LEN Function is to measure length of a text. Why do you need Excel LEN Function? Excel LEN Function is not quite meaningful to use alone, it is more of a stepping stone to achieve another purpose. LEN Function is most commonly used with the following functions in order to extract a substring from a string. LEFT Function - extract a substring on the left...
Read More

Excel VBA Option Explicit to force declaration of variables

Excel VBA Option Explicit to force declaration of variables
This tutorial explains how to use Option Explicit to force declaration of variables in Excel VBA (enable Require Variable Declaration) You may also want to read: Difference between Dim and Set Difference between ByRef ByVal Function, Sub, Method, Property Differences What is VBA Option Explicit? Option Explicit is a keyword declared on top of the Visual Basic Editor in the coding Win...
Read More

Access Excel VBA MID Function to extract substring

Access Excel VBA MID Function to extract substring
This tutorial explains how to use MID Function to extract substring from a string in Excel / Access VBA Excel / Access VBA MID Function MID Function is quite similar to LEFT Function and RIGHT Function, where RIGHT Function extracts a substring on the right, LEFT Function extracts a substring on the left, while MID extracts a substring in the middle of the string. MID Function is commonly use...
Read More

Excel MID Function to extract substring

Excel MID Function to extract substring
This Excel tutorial explains how to use Excel MID Function to extract substring from a string, and use with FIND and SEARCH and LEN Function. You may also want to read: Extract text in brackets Remove text in brackets Excel MID Function MID Function is quite similar to LEFT Function and RIGHT Function, where RIGHT Function extracts a substring on the right, LEFT Function extracts a subs...
Read More

Excel Extract Time from Date Time or Extract Date

Excel Extract Time from Date Time or Extract Date
This Excel tutorial explains how to extract time from Date Time (timestamps)  or extract date from Date Time in Excel and how to convert date time to time serial (decimal number). You may also want to read: Excel Access VBA extract percentage from text Access Excel VBA extract number from text or extract alphabet Access Excel extract file name from file path Excel Display Time from Date Tim...
Read More

Excel VBA Workbooks.Add Method to create new workbook

Excel VBA Workbooks.Add Method to create new workbook
This page explains Excel VBA Workbooks.Add Method, illustrate how to create new workbook in Excel VBA or move data from one workbook to a new workbook What does Excel VBA Workbooks.Add Method do? Excel VBA Workbooks.Add Method is used to create new workbook. Suppose you have a workbook called workbook1, inside workbook1 you need to create new workbook and manipulate it, then you need to insert...
Read More

VBA Excel Hide Blank Rows Automatically

VBA Excel Hide Blank Rows Automatically
VBA Excel Hide Blank Rows Automatically This is a question originally posted in Microsoft Community about Excel hide blank rows. https://answers.microsoft.com/en-us/office/forum/office_2007-excel/automatically-unhide-a-row-on-sheet-2-when-data-is/b1c85ae4-d0a8-4339-86c4-4ee68471ff73 The user has a worksheet called Sheet1 that is dynamically changed. Another worksheet, Sheet2, contains a ran...
Read More

Excel DateValue Function to convert text to Date

Excel DateValue Function to convert text to Date
What does Excel DateValue Function do? Excel DateValue function is used to convert a text to Date Serial, a numeric value that represents the Date. Why do you need Excel DateValue Function? Date is being treated specially in Excel. The format you see in Excel worksheet such as dd/mm/yyyy is only a displayed formatting, the underlying value of a Date is a numeric value. 1/1/1900 is considered as...
Read More