Quote:
Originally posted by kinook
I'm not sure exactly what you mean by "if i dont use quotes then VisualBuild assing my scalar as a VALUE to my macro".
This does what I would expect (assigns the value '123' to the ABC temporary macro):
$abc = 123;
$Application->Macros(vbldMacroTemporary)->Add("ABC", $abc);
You can't assign a Perl variable reference to a VBP macro, but you can store the underlying variable's value.
|
so I cant use something like
$abc = $_;
$Application->Macros(vbldMacroTemporary)->Add("ABC", $abc);
???
Thanks for your help.