Jim,
In the macro editor you can click on the constant (like wdLine) and then choose View-Definition from the VBA menu. This will tell you value of the constant, it happens that the constants in your example are;
wdLine = 5
wdExtend = 1
wdAlignParagraphCenter = 1
Next you need to covnert the calls from named parameters ( the Unit:wdLine stuff) to positional parameters like so (assuming that your word object is named oWord);
WITH oWord
Selection.HomeKey(5,1) &&wdLine=5 wdExtend=1
Selection.ParagraphFormat.Alignment(1) &&wdAlignParagraphCenter=1
ENDWITH