[nl-users] MacroCode LibreOffice-Basic

2014-01-07 Berichten over hetzelfde onderwerp Willem075

Beste lezers,

In een macro voor een LibreOffice-Calc rekenblad wil ik na een zoekactie 
dat de cursor op de cel A1 gaat staan. Is er iemand die daarvoor de 
macrocode kan geven?



Vriendelijke groet,

Willem



--
Unsubscribe instructions: E-mail to users+unsubscr...@nl.libreoffice.org
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/nl/users/
All messages sent to this list will be publicly archived and cannot be deleted



Re: [nl-users] MacroCode LibreOffice-Basic

2014-01-07 Berichten over hetzelfde onderwerp Willy Bijk
Hallo Willem,

Na opnemen krijg je deze code:

dim args2(0) as new com.sun.star.beans.PropertyValue
args2(0).Name = ToPoint
args2(0).Value = $A$1

dispatcher.executeDispatch(document, .uno:GoToCell, , 0, args2())

Dit doet hij dan in het active werkblad. Het is belangrijk dat args2 niet
nogmaals in je macro voorkomt.



Op 7 januari 2014 12:18 schreef Willem075 willem...@gmail.com:

 Beste lezers,

 In een macro voor een LibreOffice-Calc rekenblad wil ik na een zoekactie
 dat de cursor op de cel A1 gaat staan. Is er iemand die daarvoor de
 macrocode kan geven?


 Vriendelijke groet,

 Willem



 --
 Unsubscribe instructions: E-mail to users+unsubscr...@nl.libreoffice.org
 Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
 List archive: http://listarchives.libreoffice.org/nl/users/
 All messages sent to this list will be publicly archived and cannot be
 deleted



-- 
Unsubscribe instructions: E-mail to users+unsubscr...@nl.libreoffice.org
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/nl/users/
All messages sent to this list will be publicly archived and cannot be deleted