Code covered by the BSD License  

Highlights from
Excel Named Ranges

Be the first to rate this file! 1 Download (last 30 days) File Size: 1.99 KB File ID: #6706

Excel Named Ranges

by Stephen Lienhard

 

10 Jan 2005 (Updated 12 Jan 2005)

Return the list of named ranges from an Excel file.

| Watch this File

File Information
Description

%XLSRANGENAMES Returns a list of named ranges in an excel workbook
% RangeNames = XLSRangeNames(filename)
% RangeNames is a (n x 2) cell array with the name of the named range in
% the first column and the value (aka location) in the second column
%
% The value is an excel formula similar to: '=Sheet1!$A$1'
%
% RangeStatus returns a 1 if at least one named range to return, 0
% otherwise
%
% Author: Stephen Lienhard
%
% Example:
% filename = 'C:\mytest.xls'
% [ RangeNames , RangeStats ] = XLSRangeNames(filename);

Acknowledgements
This submission has inspired the following:
Store Excel named range in MATLAB
MATLAB release MATLAB 7.0.1 (R14SP1)
Other requirements Microsoft Excel
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
data import Stephen Lienhard 22 Oct 2008 07:39:27
data export Stephen Lienhard 22 Oct 2008 07:39:27
utilities Stephen Lienhard 22 Oct 2008 07:39:27
excel named ranges Stephen Lienhard 22 Oct 2008 07:39:27
excel named ranges David 16 Sep 2011 17:54:49

Contact us at files@mathworks.com