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:
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.
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: firstname.lastname@example.org
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted
Impressum (Legal Info)
: 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