Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index

El 19/10/12 10:00, david_lynch escribió:
  I want to have a cell in Calc with multiple font effects, which
characters get which font depends on the values in other cells. An example:

A1 abcdefg
A2 3
A3 5
I want to be able to program Calc so that characters A2 to A3  (3 to 5)
of A1 are strikeout, so A1 looks like
abcdefg     with "cde" in strikeout.

I know I can get this effect be editing A1 manually, but that not
possible with the large number of cells I want to edit in this manner.

Can anyone tell me a way to do this, please? I'm willing to program this
in basic if it's the only way.

David Lynch

Maybe the function MID() is what you are looking for?


Menu/Help/LibreOffice help (F1) - Index tab - search term: MID.
Returns a text string of a text. The parameters specify the starting position and the number of characters.
MID("Text"; Start; Number)
Text is the text containing the characters to extract.
Start is the position of the first character in the text to extract.
Number specifies the number of characters in the part of the text.
=MID("office";2;2) returns ff.

For unsubscribe instructions e-mail to:
Posting guidelines + more:
List archive:
All messages sent to this list will be publicly archived and cannot be deleted


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.