Thread Subject: Excel Through ActiveX - Command list?

Subject: Excel Through ActiveX - Command list?

From: James Delph

Date: 12 Nov, 2007 11:18:24

Message: 1 of 2

Hi,

I'm working with Matlab and I'm trying to automate a
report creation. All suggested builtin functions can't
help me because this report is very non-standart.

Do you know where I can find the command list that
corresponds to Excel?
(i.e: to create a black border around a cell selsction,
the Matlab syntax would be:
        ActivesheetRange.Borders.Weight=2;
        ActivesheetRange.Borders.LineStyle=1;
        ActivesheetRange.Borders.ColorIndex=1;
)

What other commands are available?
Thanks!

Subject: Excel Through ActiveX - Command list?

From: Chris

Date: 13 Nov, 2007 19:11:46

Message: 2 of 2

"James Delph" <ziv_parizat@amat.com> wrote in message
<fh9cq0$l0k$1@fred.mathworks.com>...
> Hi,
>
> I'm working with Matlab and I'm trying to automate a
> report creation. All suggested builtin functions can't
> help me because this report is very non-standart.
>
> Do you know where I can find the command list that
> corresponds to Excel?
> (i.e: to create a black border around a cell selsction,
> the Matlab syntax would be:
> ActivesheetRange.Borders.Weight=2;
> ActivesheetRange.Borders.LineStyle=1;
> ActivesheetRange.Borders.ColorIndex=1;
> )
>
> What other commands are available?
> Thanks!

James,

My standard answer to this type of question is to proto the
commands in excel/vba thru a macro. Then examine the macro
and search VB help to determine the underlying constants.
Then translate the whole bit to matlab syntax.

-Chris

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
excel James Delph 12 Nov, 2007 06:20:06
activex James Delph 12 Nov, 2007 06:20:06
rssFeed for this Thread
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com