Professional Documents
Culture Documents
An Excel Macro is a piece of programming code that runs in Excel environment and helps automate
routine tasks. A macro is an excel task recording and playback tool. You simply record your Excel
steps and the macro will play it back. You need little knowledge of VBA to make advanced
modifications in the macro. A common and easy way to generate VBA code is by using the Macro
Recorder. First, you need the developer Tab: File->Options->Customize Ribbon->Check Developer.
To place a command button on your worksheet, execute the following steps. On the Developer tab,
click Insert. In the ActiveX Controls group, click Command Button. Right click CommandButton1
(make sure Design Mode is selected). Click View Code. The Visual Basic Editor appears. Place your
cursor between Private Sub CommandButton1_Click() and End Sub. Add the code line shown below:
Range("A1").Value = "Hello"
End Sub
The MATLAB Compiler Runtime (MCR) enables you to run applications compiled within MATLAB
using MATLAB Compiler. MCR does not require a MATLAB license and can be used to run the
MATLAB compiled program on computers which do not have MATLAB installed.