Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Manipulate Writer selection via macro

I'm not too bad with VBA, but I simply have not been able to get to first base with OO.o/LO's macro basic code. The verbosity and the editor present major challenges to me. Maybe if I can get one macro going I'll begin to understand.

I'm trying to take a selection and add set text before and after it. I do this to add mark-up for forum posts, so the text I add consists of tags.

When I do this in Word, I have VBA extend the range of the selection to the paragraph beginning and end, so that I don't have to be careful with my selection, I just have to be in the paragraphs I want to include. But that isn't necessary.

I'm in LO 4 on Win7.

Thanks.

Manipulate Writer selection via macro

I'm not too bad with VBA, but I simply have not been able to get to first base with OO.o/LO's macro basic code. The verbosity and the editor present major challenges to me. Maybe if I can get one macro going I'll begin to understand.

I'm trying to take a selection and add set text before and after it. I do this to add mark-up for forum posts, so the text I add consists of tags.

When I do this in Word, I have VBA extend the range of the selection to the paragraph beginning and end, so that I don't have to be careful with my selection, I just have to be in the paragraphs I want to include. But that isn't necessary.

I'm in LO 4 on Win7.

Thanks.