Excel Macro (VBA)

Sponsored Links
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 Macro (VBA)

Macro suddenly stopped working Excel(Excel) Macro(VBA)

I have been experiencing a phenomenon around me where macros suddenly stop working after having been used normally until yesterday. The phenomenon is that I had set up a macro that is activated by double-clicking on a specific cell, but it no longer responds when double-clicked. I went to "Develop..." to check the contents of the macro.
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...
Sponsored Links
Excel Macro (VBA)

About Variable Types Excel(Excel) Macro(VBA)

This section explains the types used when declaring variables in "Dim Variables". Here are some typical types of variables that you only need to remember. I almost always use only these. Variable typeThe range of data that can be storedstring stringlong integer (-2,14...)
Excel Macro (VBA)

How to Disable Automatic Calculation in Excel VBA to Speed Up Your Macros

Learn how to disable automatic calculation in Excel VBA to dramatically speed up your macros. Simple code examples and performance tips included. Boost your Excel automation today!
Excel Macro (VBA)

Color every other line alternately to make stripes

When creating a table, it is possible to make the table very easy to read if each row is colored alternately and striped. In this issue, we will show you three ways to do this. How to use the table functionHow to set up a tableSelect a cell anywhere in the table you want to make a table and click "Insert...
Excel Macro (VBA)

What is an Excel (Excel) Macro (VBA) Module and Procedure?

When dealing with VBA, you will come across terms such as modules and procedures, which are not used in everyday life. So, here I will explain about modules and procedures. Modules include standard modules, book modules, sheet modules, fo...
Excel Macro (VBA)

How to delete a sheet by specifying the sheet name VBA(Macro)Excel(Excel)

As the number of unneeded sheets grows, browsing becomes worse, and Excel itself becomes slower. In such cases, you can use VBA to automatically delete unnecessary sheets. In this article, we will show you how to use VBA to delete sheets at high speed...
Excel Macro (VBA)

How to install .NET FrameWork

What are the versions of the .NET Framework? NET Framework (DotNet Framework) comes in various versions (types of toolboxes) with slightly different tools inside...
Excel Macro (VBA)

How to use the variable type "Workbook" Excel(Excel) Macro(VBA)

For other variable types, please refer to Excel (Excel) Macro (VBA) about variable types. First, we will explain the basic usage of the variable type "Workbook".
Sponsored Links
Copied title and URL