For now, take a quick look at my free macro document... There is a small blurb in section 7.22 Text Tables. Remember, this free document is primarily a brain dump and examples. My book is more coherent.... No time to solve the problems specifically at hand right now.

Although 5.18 Saving And Exporting A Document does not exactly solve your problem, it will probably point you in the right direction. You say that you want to use the same name. I assume that you do want to change the file extension, yes? I took a quick look in my book, and it looks like the filter name is "Microsoft Word 97/2000/XP". My book has better coverage on this than my free document...

Does this get you started? I hope so, I leave town shortly... You can also ask on the dev list and the oooforum (they have a macro section).

Herbert Eppel wrote:

On 20.05.2005 10:05 UK Time, David wrote:

Herbert
I agree that recording seems to record only selected things - usually stuff you already know!
The only way to learn is to dig and surf!- Andrew Pitonyak has a lot of useful stuff.
I found OOo basic very obscure (after Lotus Script)
but here is how I create and size a table


CUT


hope this helps


Hi David,

thanks for this, but I fear I am quite out of my depth here :-(

If there is a macro expert out there who would be prepared to write a (simple?) macro to achieve the tasks marked as "not OK" below, myself and a significant proportion of the large number of translators using the DejaVu translation memory software would be eternally grateful :-)

This is what the macro should do with a specific type of txt file opened in OOo:

1. Select All (OK)
2. Set font (OK)
3. Set language (not OK)
4. Convert tab-delimited text to 3-column table (OK)
5. Set column width to specific values, e.g. 3cm, 7.5cm, 7.5cm (not OK)
6. Set view to Web Layout (OK)
7. Save as Word97/2000/XP, using the same file name as the txt file (not OK)


Regards

Herbert Eppel


--
Andrew Pitonyak
My Macro Document: http://www.pitonyak.org/AndrewMacro.sxw
My Macro Book: http://www.hentzenwerke.com/catalog/oome.htm
Free Info:  http://www.pitonyak.org/oo.php


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to