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


On 01/08/2011 02:57, Andrew Douglas Pitonyak wrote:
I do believe that you have seen AndrewMacro, which contains an example
that demonstrates that yes, you can. Just OR the values together. I
likely show the same thing in OOME. I am currently working through the
Calc chapter as time permits. I need to hurry, because the German
translator is translating faster than I am creating more content.

I saw it.  I just discovered that same effect can be achieved by adding
the values of the constants so I have something like:

.sheet.getCellRangeByName('A1:E20').clearContents(5) ... # 1 OR 4, for
Values & Strings according to your book.

That makes sense, but that will be confusing to read in the future so I
think I'll use defined constants as per Andreas' response:

.sheet.getCellRangeByName('A1:E20').clearContents(VALUE + STRING)

Thanks to all of you.

Onyeibo

-- 
Unsubscribe instructions: E-mail to users+help@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
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

Context


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.