Not really sure if this should be in this forum or the macros one, but...
I want some very, very simple macros to insert the date and time (in particular formats), as plain text, into Writer docs.
I recorded a macro inserting the fields in the formats I wanted, cutting them and pasting them back as 'unformatted text', then saved them in a module. This worked fine until I exited Writer and re-started it.
Now, when I run the macros, I get decimal numbers inserted....?
Help much appreciated...
Title Edited. A descriptive title for posts helps others who are searching for solutions and increases the chances of a reply (Hagar, Moderator).
[Solved-Workaround] Macro to insert date/time as plain text
[Solved-Workaround] Macro to insert date/time as plain text
Last edited by Olmy on Sat Aug 01, 2009 2:31 pm, edited 1 time in total.
Re: Simple Macro??
This question could have been avoided (here or in the BASIC sub forum) by using the search function...
http://extensions.services.openoffice.o ... /DateTime2
http://extensions.services.openoffice.o ... /DateTime2
Re: Simple Macro??
Thanks but I did actually find the downloadable module, but...
1/ It's not exactly user-friendly and I've tried to modify what looked like the formats to what I want, without success.
2/ I'd prefer to understand the simple macro procedure for future reference.
1/ It's not exactly user-friendly and I've tried to modify what looked like the formats to what I want, without success.
2/ I'd prefer to understand the simple macro procedure for future reference.
Re: Macro to insert date/time as plain text
Found this..
http://www.oooforum.org/forum/viewtopic.phtml?t=40039
If I record an insert->fields->date and then delete it before inserting what I actually want, it works!
Seems odd though.....
http://www.oooforum.org/forum/viewtopic.phtml?t=40039
If I record an insert->fields->date and then delete it before inserting what I actually want, it works!
Seems odd though.....