VBA Excel Access roundup rounddown Function

This Excel Access tutorial explains how to use VBA to write an Access roundup (round up) and Access rounddown (round down) Function to simulate that in Excel. These roundup and rounddown Functions can also be used in Access and Excel VBA. Excel Access roundup rounddown Function In Excel Worksheet Function, there are round, roundup, rounddown, mround Functions. In Excel VBA, there is only round Function but no roundup, rounddown, mround Functions. The round Function is not the same as that i...
Read More

Access Excel VBA generate random password or random characters

This Access Excel VBA tutorial explains how to generate random password or random characters with random number, random letters and random symbols. You may also want to read: Excel VBA generate non-duplicated random number Excel VBA Rnd Function to generate random number Access Excel VBA generate random password or random characters If you are a system administrator, very likely you need to genrate login password for users. Some people who are not good at Excel generate password com...
Read More

Access Excel VBA convert number to English words

This Access Excel VBA tutorial explains how to convert number to English words in VBA. Access Excel VBA convert number to English words I want to share a custom Function I found in Microsoft Support website, which is to convert number to English words using Excel VBA (also applicable to Access). I want to highlight that the article is unlike other articles written by other contributors, this article has no author and I believe this Function was created by the Microsoft engineers, so this custo...
Read More

Excel extract text in brackets

This Excel tutorial explains how to extract text in brackets or in defined text in Excel spreadsheet and VBA. Extract text in brackets in Excel spreadsheet In the previous post, I demonstrated how to remove text in brackets or in any defined text, in this post I will explain how to extract the text in brackets or in any defined text. In Excel spreadsheet, you can extract any substring using Mid Function. To recap the syntax of Mid Function MID( text, start_position, number_of_characte...
Read More

Access Excel capitalize first letter in a sentence

This Access Excel tutorial explains how to capitalize first letter in a sentence using VBA custom Function. Capitalize first letter in a sentence In Excel spreadsheet, there is a Function called Proper, which converts all the first letter of each word to capital letter. Example  Using Proper Function he is a boy. she is a girl. He Is A Boy. She Is A Girl. he is a boy. his name is John. mary is a girl. He Is A Boy. His Name Is John. Mary Is A Girl. Mr.  smith is happy ...
Read More

Excel get formula of a cell using FormulaText Function and VBA

This Excel tutorial explains how to show / get formula of a cell using FormulaText Function and VBA. Search formula of a Cell Assume that you have the below spreadsheet and you don't know whether any cells contain a formula.   Press CTRL + F to open Find and Replace dialog In the Find what text box, enter equal sign = , then press Find Next button Note that if a cell contains equal sign in Cell Text, it will also be searched. Show formula of a Cell Navigate to Formul...
Read More

Get Foreign Exchange Rate in Excel (VBA and non-VBA)

This Excel tutorial explains how to get foreign exchange rate in Excel using VBA and non-VBA. You may also want to read: Get exchange rate using VBA Access Function Excel currency converter template Foreign Exchange Rate Websites Excel allows you to create an external connection to website where you can get the data directly in the spreadsheet. To begin with, look for a dynamic website that contains foreign exchange rate where the database constantly refreshes. One example is ...
Read More

Access Excel extract file name from file path

This Excel tutorial explains how to extract file name from file path using VBA and without VBA. Excel Access VBA extract percentage from text Access Excel VBA extract number from text or extract alphabet Excel Extract Time from Date Time or Extract Date Excel extract file name from file path Assume that you have a file path such as C:\Program Files\Google\GoogleToolbarNotifier\a.jpg If you want to extract file name a.jpg from the path in Excel, first we need to think about how to de...
Read More

Excel VBA LinkInfo Method

This Excel VBA tutorial explains VBA LinkInfo Method to check status of linked workbook. You may also want to read: Excel find all external links and broken links in workbook Excel VBA LinkInfo Method Workbook LinkInfo Method is usually used to check status of linked workbook, so that we know whether the workbook link is broken or normal. Usually this Method is used with LinkSources Method. Syntax of LinkInfo Workbook.LinkInfo(Name, LinkInfo, Type, EditionRef) Name Required...
Read More

Excel Access VBA extract percentage from text

This Excel / Access tutorial explains how to extract percentage from text. Access Excel VBA extract number from text or extract alphabet Excel Extract Time from Date Time or Extract Date Access Excel extract file name from file path Excel extract text in brackets Excel Access VBA extract percentage from text Recently I got a report that contains percentage but it is mixed with other text. For example, Salary increased by 10% We are unable to do any calculation unless we extract the 1...
Read More