PDA

View Full Version : Solved: Emulating "Block Quotations" from the Legal Pleadings Wizard/Templates



Anne Troy
03-09-2005, 03:30 PM
Hi, guys.

I want to be able to create a macro that does exactly the same thing as that button.

I cannot seem to copy the toolbar or the button or anything into a normal.dot file. The button appears to simply increase both the right and left indent by .5" each time you click it.

Can anybody give me code that would emulate it? It'd make a good KB entry, I'm sure.

TonyJollans
03-09-2005, 04:59 PM
That button executes this macro:

Sub BlockQuotationMacro()
Selection.ParagraphFormat.LeftIndent = Selection.ParagraphFormat.LeftIndent + 36
Selection.ParagraphFormat.RightIndent = Selection.ParagraphFormat.RightIndent + 36
End Sub

Anne Troy
03-09-2005, 05:01 PM
Tony...you're the freaking bomb.

TonyJollans
03-09-2005, 05:23 PM
LOL