I've never played with LO macros before, and I have no idea if this is possible, but: At a certain point in the document I need to insert the document's filename (easy to do using fields), and then later on to insert the same filename after a simple search+replace operation (which is where I'm stuck).

I assume macros are the way to go but if there's a better/different way I'm all ears.

--
Mark Rogers // More Solutions Ltd (Peterborough Office) // 0844 251 1450
Registered in England (0456 0902) @ 13 Clarke Rd, Milton Keynes, MK1 1LG