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

Contact us at files@mathworks.com