Sponsored Links
Excel Macro (VBA)

Get the full path (save location and file name) of the opened Excel file "FullName" Excel (Excel) Macro (VBA)

There are many situations where it is useful to be able to retrieve the location of the Excel file you are currently operating on when you are trying to retrieve values from another Excel file or save a file as a name using a macro. In this article, we will show you how to use the "FullName" command, which is useful in such cases. The currently open...
Excel Macro (VBA)

How to use the input screen "InputBox" Excel Macro (VBA)

If you want to use values or arbitrary characters that do not exist in Excel, the "InputBox" is useful to easily create an input screen during macro execution. In this article, we will briefly explain how to use this "InputBox".
Excel Functions

Excel (Excel) RIGHT and LEFT functions to extract a specific number of characters from the right or left of a string

I want to display only the four characters from the right of the data entered in a cell, or I want to display the rest of the data without displaying the left few characters. Conversely, I want to display only 4 characters from the left of the data entered in a cell, or I want to display the rest of the data without displaying the few characters on the right. Thus...
Sponsored Links
Excel Functions

How to set and remove sheet and book protection Excel (Excel)

If you are thinking about preventing Excel mishaps, this is a must! This article details how to set up and remove sheet and book protection. In fact, you can easily set it with a password. This article will help you protect your important data.
Excel Functions

3 Easy Ways to Hide or Show Zero Values in Excel: Simple Formatting Tips

As shown in the figure below, when "A1" cell contains 150 and "A2" cell also contains the same number, 150, the calculation result of "=A1-A2" is "0" zero. There are three ways to avoid displaying numbers when the result of the calculation is "0" zero. The result of the calculation is "0" zero...
Excel Macro (VBA)

How to pass arguments between procedures ByRef,ByVal Excel(Excel) Macro(VBA)

This section describes how to pass arguments when procedures are separated. In the article below, I mentioned that it is easier to read and process the code by separating the procedures...
Excel Macro (VBA)

Get the path (save location) of the opened Excel file "Path" Excel Macro (VBA)

In many cases, it is useful to be able to get the location of the Excel file you are currently working on when you want to retrieve values from another Excel file or save a file as a name using a macro. In this article, we will show you how to use the "Path" command, which is useful in such cases. The currently open Excel file...
Excel Macro (VBA)

VBA "Overflow occurred." Error cause and remedy (runtime error '6′:)

Cause of ErrorThis error occurs when the data type is not in a format that can be handled, or when the data type exceeds the range of numbers that can be handled. First, let's reproduce the error. As shown in the figure above, we have set up the code to copy the numeric value in cell "B3" to cell "B4".
Excel Functions

How to use the sheet protection function.

After you have created a great system or tool in Excel, do you ever have this fear when you want others to use it? What if someone accidentally breaks a formula... What if an important function is deleted? I only want to edit the cells I need, but...
Excel Functions

Insert rows without breaking formulas (using spil) Excel (Excel)

With Microsoft365 and Excel 2021 or later versions, you can insert, delete, and rearrange rows without breaking the formula by using a feature called Spill. In this article, we will show you a specific example...
Sponsored Links
Copied title and URL