R
Rashid
I am using MS Word 2003/Windows XP
I have a third-party application that launches a word template for a
mail merge. Various fields from the database are inserted into
merged
document in 4 columns viz Description, Qty, Unit Price, Amount.
At present I have recorded the following macro (with two rows of data)
which I run after selecting the data under Column Heading Unit Price
and Amount.
Sub Macro1()
Selection.MoveRight Unit:=wdCharacter, Count:=3, Extend:=wdExtend
Selection.MoveDown Unit:=wdLine, Count:=1, Extend:=wdExtend
Selection.ParagraphFormat.Alignment = wdAlignParagraphRight
End Sub
Can anyone help me with a macro which would run after the merge is
completed and make the data (only) with Column Headings Unit Price and
Amount to be right aligned please?
Pls note that the rows may vary from 1 to various rows.
Thanks in advance.
Rashid Khan
I have a third-party application that launches a word template for a
mail merge. Various fields from the database are inserted into
merged
document in 4 columns viz Description, Qty, Unit Price, Amount.
At present I have recorded the following macro (with two rows of data)
which I run after selecting the data under Column Heading Unit Price
and Amount.
Sub Macro1()
Selection.MoveRight Unit:=wdCharacter, Count:=3, Extend:=wdExtend
Selection.MoveDown Unit:=wdLine, Count:=1, Extend:=wdExtend
Selection.ParagraphFormat.Alignment = wdAlignParagraphRight
End Sub
Can anyone help me with a macro which would run after the merge is
completed and make the data (only) with Column Headings Unit Price and
Amount to be right aligned please?
Pls note that the rows may vary from 1 to various rows.
Thanks in advance.
Rashid Khan