in reply to Re: Another Excel/OLE question.
in thread Another Excel/OLE question.
Thanks for the response and input! I had actually tried passing the value as a string and a constant with the same result. I wasn't actually sure it mattered, because no errors are thrown and if I set Merge to "True", it had the same effect as the constant True. To add a bit more detail, I am merging a bunch of cells and trying to add the title of an Excel spread sheet, and center it. Here's the nitty gritty:
#Insert logo and title $sheet -> Range("1:1") -> {RowHeight} = 60; $sheet -> Range("F1:S1") -> Font -> {Name} = "Arial Rounded MT B +old"; $sheet -> Range("F1:S1") -> Font -> {Size} = 36; $sheet -> Range("F1:S1") -> Font -> {Bold} = True; $sheet -> Range("F1:S1") -> {MergeCells} = True; $sheet -> Range("F1:S1") -> {HorizontalAlignment} = xlCenter; $sheet -> Range("F1:S1") -> {VerticalAlignment} = xlCenter; $sheet -> Range("F1:S1") -> {Value} = "Great Job!";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Another Excel/OLE question.
by Anonymous Monk on Jun 03, 2011 at 18:06 UTC | |
by Morellio (Initiate) on Jun 03, 2011 at 22:18 UTC | |
by Anonymous Monk on Jun 03, 2011 at 22:51 UTC |