I believe that AndrewMacro.odt contains an example of selecting cells.
If you desire to do so based on the current cursor, I would do something
like the following:
1. Get the Active Cell.
2. Use the method of your choice to get a cell range that includes the
active cell and then the next 10 cells down.
3. User the current controller to select the cells.
Is this a sufficient hint, or do you require more details (it would take
me time to figure out the details, but, if you can get the cell range
based on the rows and columns, that is probably the easiest way).
On 08/17/2011 01:30 AM, Silva Paulo wrote:
Since uno:GoDown select is broken, how can I select for example 10 cells down (or right) the
current cell in a basic macro?
Thanks
--
Andrew Pitonyak
My Macro Document: http://www.pitonyak.org/AndrewMacro.odt
Info: http://www.pitonyak.org/oo.php
--
For 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.