Excel VBA color code list – ColorIndex, RGB color, VB color

Excel VBA color code list – ColorIndex, RGB color, VB color
This Excel tutorial collects the VBA color code list for reference purpose, which includes ColorIndex, RGB color, VB color. Excel ColorIndex VBA Excel ColorIndex Property is to set color or get color for Objects like Cell color and Shape color. ColorIndex offers 56 basic colors plus the following special numbers. ColorIndex Value Explanation -4142 / xlColorIndexNone / xlNone No f...
Read More

Excel VBA hide worksheet with password (xlVeryHidden)

Excel VBA hide worksheet with password (xlVeryHidden)
This Excel VBA tutorial explains how to hide worksheet with password (xlVeryHidden). You may also want to read: Excel VBA protect worksheet with password Excel VBA Add password to Excel workbook in folder Protect VBA code with password Different kinds of workbook protection There are several kinds of protection in Excel. Add password to workbook. Users are asked to open the Ex...
Read More

Access Excel remove line break and carriage return

Access Excel remove line break and carriage return
This Access / Excel tutorial explains how to remove carriage return and remove line break in a text. You may also want to read: Excel VBA separate line break data into different rows Access Excel remove carriage return and remove line break Recently our company uploaded employee data in spreadsheet data to the new system. One user reported that her home address shows some special code (som...
Read More

Access Excel VBA day month year difference between two dates

Access Excel VBA day month year difference between two dates
This Access Excel tutorial explains how to find complete year difference, month difference and date difference between two dates. You may also want to read: Excel DATEDIF Function to calculate date difference Access Excel VBA difference between two dates (year difference, month difference, day difference) In Excel worksheet, there is a Function called DateDif that can calculate difference ...
Read More

Excel VBA Worksheets.Copy Method to copy worksheet

Excel VBA Worksheets.Copy Method to copy worksheet
This tutorial explains how to copy worksheets using Worksheets.Copy Method in Excel VBA, and demonstrate how to copy worksheet to another workbook. You may also want to read: Excel VBA Worksheets.Add Method to add new worksheet Excel Workbooks Open Method and check if workbook open Excel VBA Consolidate worksheets into one worksheet Excel VBA Worksheets.Copy Method to copy worksheet ...
Read More

Excel VBA Application WorksheetFunction Property

Excel VBA Application WorksheetFunction Property
Posted on
This Excel tutorial explains how to use Application WorksheetFunction Property in Excel VBA. Excel VBA Application WorksheetFunction Property Excel VBA Functions and Excel Worksheet Functions are slightly different. Sometimes even though the Function names and syntax are the same, the results are different. There are many nifty Worksheets Functions but unfortunately they are not present in VB...
Read More

Excel Cell Function to check Cell format, address, contents

Excel Cell Function to check Cell format, address, contents
This Excel tutorial explains how to use Cell Function to check Cell format, address and contents. You may also want to read: Excel ColorIndex Property Excel verify Number format and convert Text to Number Excel Cell Function to check Cell format, address, contents Excel Cell Function is a very powerful Function that tells various information of a Cell. Cell Function has a list of argume...
Read More

Excel VBA Copy Range and Paste Method

Excel VBA Copy Range and Paste Method
This Excel VBA tutorial explains how to copy Range and paste data using VBA Excel VBA Copy Range Method Range.Copy Method is a very convenient Method to copy and paste Range to destination in one line of code. All the formatting will be copied and pasted. You can copy a Range, a column, a row. Syntax Range.Copy(Destination) Destination is optional. If not specified, Excel copies the Range ...
Read More

Excel verify Text format and convert number to text

Excel verify Text format and convert number to text
Posted on
This Excel tutorial explains how to verify Text format in a column. If it is a Number then convert Number to Text. You may also want to read: Excel verify Number format and convert Text to Number Excel verify Text format Three kinds of Cell contents are considered as Text 1) Non-number - such as alphabet, symbol 2) A mix of number and non-number 3) Number with small triangle on ...
Read More

Excel VBA DIR Function

Excel VBA DIR Function
This Excel tutorial explains how to use Excel VBA DIR Function and loop through workbooks in a folder. You may also want to read: Excel loop workbooks in folders and subfolders with FileSystemObject Excel VBA DIR Function DIR Function returns the first file name that matches the criteria in Function argument (pathname and attributes). DIR Function is usually used with loop in order to m...
Read More