in reply to Re^2: Changing VB to Perl
in thread Changing VB to Perl

Pass arguments to VBA macro has an example of passing an argument to a word macro.