Path: news.mathworks.com!not-for-mail
From: "Phil Goddard" <phil@goddardconsulting.ca>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Hello,  I'd like to execute *.xls made by VBA in Matlab. Is it possible?
Date: Sun, 4 Nov 2012 16:21:08 +0000 (UTC)
Organization: Goddard Consulting
Lines: 11
Message-ID: <k764lk$ip3$1@newscl01ah.mathworks.com>
References: <k6o42k$sa4$1@newscl01ah.mathworks.com>
Reply-To: "Phil Goddard" <phil@goddardconsulting.ca>
NNTP-Posting-Host: www-06-blr.mathworks.com
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: newscl01ah.mathworks.com 1352046068 19235 172.30.248.38 (4 Nov 2012 16:21:08 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Sun, 4 Nov 2012 16:21:08 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 26433
Xref: news.mathworks.com comp.soft-sys.matlab:781995

As other posters have mentioned, your question really doesn't make sense.

One interpretation not covered in other answers is that you want to execute a macro defined within a spreadsheet.
If so, then you need to to look at using the MATLAB-COM API (http://www.mathworks.com/help/matlab/using-com-objects-in-matlab.html).
The example for the actxserver function shows how to connect to Excel from MATLAB.
Then to execute a macro you'd need to use the Application.Run method.

An example of doing this from VBScript is given at http://stackoverflow.com/questions/10232150/run-excel-macro-from-outside-excel-using-vbscript-from-command-line
You'd need to read/understand/modify that to work from MATLAB.

Phil.