0% found this document useful (0 votes)
13 views15 pages

Using The RLS Macro

Uploaded by

Stefan Franzen
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views15 pages

Using The RLS Macro

Uploaded by

Stefan Franzen
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 15

Using the RLS Macro

Excel Spreadsheet
The first step is to make sure that the Visual Basic Add-in is activated in Excel.
Go to File/Options.
The first step is to make sure that the Visual Basic Add-in is activated in Excel.
Go to File/Options.
Go to Add-ins
The first step is to make sure that the Visual Basic Add-in is activated in Excel.
Go to File/Options.
Go to Add-ins.
If the VBA Analysis Toolkit is under the Active category then you should be fine.
If not then select it and press Go at Excel Add-ins near the bottom of the menu.
The first step is to make sure that the Visual Basic Add-in is activated in Excel.
Go to File/Options.
Go to Add-ins.
If the VBA Analysis Toolkit is under the Active category then you should be fine.
If not then select it and press Go at Excel Add-ins near the bottom of the menu.
A submenu will pop up with selections for which Add-ins to activate using the
Check boxes. Click OK. This procedure activates the Add-in.

Now you are ready to run the Macro.


Please look at the internal
Documentation to understand
The macro. It does the whole
Job:
1. Robust fitting
2. Eliminate outliers
3. Linear Least Squares
4. Plotting of data
5. Reporting errors
Select data. Here I have selected
the sample data. You can select any
data on any page (even in a different
spreadsheet). Just make sure that
the RLS Excel sheet is open since
it contains the Macro (see next slide).
Select the macro:
View/Macro
Once you have viewed the macro
in the window (shown below)
you can select it. Then click Run.
Pay attention to the appearance of
several questions. These may be
on another spreadsheet since the
Macro automatically creates a new
sheet. You may accept the defaults.
Just click OK for each of the parameters.
The output appears on a separate spreadsheet.

You might also like