You're probably looking for something like this:

Public Sub insertFormula
  ThisComponent.CurrentSelection.Formula = "=TODAY()"
End Sub


-rl


Am 2013-02-07 um 21:06 schrieb T. R. Valentine <trvalent...@gmail.com>:

> Is it possible?
> 
> If so, coiuld I get a simple example, something like =TODAY() to go
> into the (currently) selected cell? I figure I can probably get it
> from there.
> 
> TIA.
> 
> 
> 
> -- 
> T. R. Valentine
> Your friends will argue with you. Your enemies don't care.
> 'When I get a little money I buy books; and if any is left I buy food
> and clothes.' -- Erasmus
> 
> -- 
> For unsubscribe instructions e-mail to: users+h...@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


-- 
For unsubscribe instructions e-mail to: users+h...@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

Reply via email to