Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Excel chart with OLE

Former Member
0 Likes
573

Dear experts,

I am using OLE to automate data into Excel chart. My problem now is i would like to change the font size in chart area at X and Y axis. What method and property should i use in order to change the size of the font in chart area?

Thanks in advance.

Simonksh

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
523

Hi,

To know the method and property,

- U can start recording a Macro and then

- Try changing the font size at x and y axis.

- Then stop recording the Macro.

- Go to that Macro in Edit Mode and see the code, U can figure out the Method & Property.

-Satya Priya

Dear experts,

I am using OLE to automate data into Excel chart. My problem now is i would like to change the font size in chart area at X and Y axis. What method and property should i use in order to change the size of the font in chart area?

Thanks in advance.

Simonksh

3 REPLIES 3
Read only

Former Member
0 Likes
524

Hi,

To know the method and property,

- U can start recording a Macro and then

- Try changing the font size at x and y axis.

- Then stop recording the Macro.

- Go to that Macro in Edit Mode and see the code, U can figure out the Method & Property.

-Satya Priya

Read only

Former Member
0 Likes
523

Hi,

U can use the following method & property.

Selection.Font.Size = 20

-Satya Priya

Read only

0 Likes
523

Hi,

How to convert the code into ABAP?

Thanks.

Simonksh