Ask Your Question
1

Basic Macro Recording for Charts

asked 2012-08-09 01:39:54 +0200

this post is marked as community wiki

This post is a wiki. Anyone with karma >750 is welcome to improve it.

updated 2012-08-09 01:39:54 +0200

anonymous user

Anonymous

I am trying to use a macro to format an x-y scatter plot. The formatting is always very similar for each graph so if I could record my format with a macro once it would make life a lot easier. I know some basics about macros and can format a spread sheet fairly easily. My problem arises when I try to format a graph. The macro recorder will stop and when I run the macro it will create the graph with no formatting changes. How/ can I record a macro to format my chart in the chart edit mode?

delete close flag offensive retag edit

2 Answers

Sort by » oldest newest most voted
0

answered 2013-03-06 16:53:19 +0200

this post is marked as community wiki

This post is a wiki. Anyone with karma >750 is welcome to improve it.

updated 2013-03-06 16:53:19 +0200

w_whalley gravatar image w_whalley flag of United States
1581 10 24

An alternative may be to copy the chart and set the data ranges of the new chart to the new data, see http://ask.libreoffice.org/en/question/8346/set-default-formatting-for-calc-charts/#8358

link delete flag offensive edit
0

answered 2013-03-06 12:26:29 +0200

qubit gravatar image qubit flag of United States
5693 3 48 41

Hi Anonymous,

It's possible that the macro recorder doesn't have any support for this type of interaction. Please take a look at the limitations described here:

Although the Macro Recorder may not be able to record the steps necessary to format a chart, it might still be possible to write such a macro manually.

link delete flag offensive edit

Login/Signup to Answer

Donate

LibreOffice is made available by volunteers around the globe, backed by a charitable Foundation. Please support our efforts: Your donation helps us to deliver a better product!

Question tools

Follow

subscribe to rss feed

Stats

Asked: 2012-08-09 01:39:54 +0200

Seen: 166 times

Last updated: Mar 06