Issue 102560 - Field (date) format recorded but not applied when running macro
Summary: Field (date) format recorded but not applied when running macro
Status: CLOSED DUPLICATE of issue 70167
Alias: None
Product: Writer
Classification: Application
Component: programming (show other issues)
Version: OOO310m11
Hardware: PC Linux, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: b.osi.ooo
QA Contact: issues@sw
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-06 12:50 UTC by michelf41
Modified: 2011-04-11 13:31 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description michelf41 2009-06-06 12:50:49 UTC
- macro recording on in text document
- click insert ; click fields ; click other
- select in "Document" : date, date(fixed), 31 décembre 1999
- click Insert
- stop recording
- save as My Macros, Standard, Module1, Macro1

If I run the macro straight away in the same document, OK : "6 juin 2009"

If I close the document, open it again or open any other document and run the
macro, I get a number "39970.57" 

That is not new to version 3.1.0, but I hoped it would be fixed.

Congratulations to OOo team.
Best regards.
Comment 1 eric.savary 2009-06-08 23:31:30 UTC
@JSK: it seems that the date format is recorded:

args1(4).Value = 5043 or args1(4).Value = 5045

but "doesn't apply" when running the macro

Please have a look.
Comment 2 hans_werner67 2011-03-28 11:54:41 UTC
Assign to new default-assignee
Comment 3 eric.savary 2011-04-11 07:19:46 UTC
Reassigned to TBO.
Comment 4 b.osi.ooo 2011-04-11 13:31:03 UTC
should be duplicate - closing

*** This issue has been marked as a duplicate of issue 70167 ***