in reply to Re^3: Creating Excel Macros from Perl
in thread Creating Excel Macros from Perl
my $code = <<'END_CODE'; Sub dosomething(say As String) For Each cell In ActiveSheet.Range("A1:A10") cell.Value = say Next cell End Sub END_CODE my $codemodule = $mod->Codemodule; $codemodule->AddFromString($code); $xlApp->Run( 'dosomething', 'test...' );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Creating Excel Macros from Perl
by Corion (Patriarch) on Jan 08, 2014 at 12:41 UTC | |
by Anonymous Monk on Jan 08, 2014 at 12:47 UTC |