cr8josh has asked for the wisdom of the Perl Monks concerning the following question:
Hi all,
I'm having a beast of a time accessing something in Perl that works beautifully in VBA, and I think it's a syntax issue. I'm trying to simply change a string of text to be red.
The VBA code is this, based on "expression.CharProps(CellIndex)":
vsoChar.CharProps(visCharacterColor) = 2In Perl, I expected this to work:
$vsoChars->CharProps(visCharacterColor)= 2;But I get a 'can't modify non-lvalue subroutine call' error. I've tried all sorts of things and nothing will work.
Thanks in advance!
Josh
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: OLE Visio syntax problem
by 7stud (Deacon) on Jun 02, 2011 at 02:39 UTC | |
by cr8josh (Sexton) on Jun 02, 2011 at 04:50 UTC | |
|
Re: OLE Visio syntax problem
by 7stud (Deacon) on Jun 02, 2011 at 22:06 UTC | |
by cr8josh (Sexton) on Jun 05, 2011 at 01:23 UTC |