Cell protection only for formulas using VBA in Microsoft Excel

In this article, we will use change event of worksheet to protect cells which contain formulas. Raw data consists of employee sales data, which inclu...

Build an Excel Add-In in Microsoft Excel

  Excel Add-Ins An Excel Add-In is a file (usually with an .xla or .xlam extension) that Excel can load when it starts up. The file contain...

Using the Macro Recorder in Microsoft Excel

Open Excel and the VBE (Visual Basic Editor). Unless it has been changed, the VBE window contains the Project Explorer window and the Properties wind...

Eliminate screen flashing while running a macro using VBA in in Microsoft Excel

Enter the code line at the begining of the code: Application.ScreenUpdating = False Enter the code line at the end of the code to turned back the sc...

Change the cursor appearance to hourglass using VBA in Microsoft Excel

When you have a big vba macro / code which needs to run for many minutes, you can change the cursor to the hourglass or waiting cursor (based on your ...

Open and close the CD-ROM tray using VBA in Microsoft Excel

With the macros below you are able to open and close the CD-ROM tray/door. Declare Sub mciSendStringA Lib "winmm.dll" (ByVal lpstrCommand As String, _...

Display all installed fonts (Excel) using VBA in Microsoft Excel

The macro below will display a list of all installed fonts. Note! If you have many fonts installed, the macro may stop responding because of lack of ...

Terms and Conditions of use

The applications/code on this site are distributed as is and without warranties or liability. In no event shall the owner of the copyrights, or the authors of the applications/code be liable for any loss of profit, any problems or any damage resulting from the use or evaluation of the applications/code.