I have an EXCEL workbook that I've created using JavaScript and ActiveX. So far everything has gone well. One of the worksheets is a chart. Things have gone well there too. I have one problem though. When setting the one of the bars on the chart to a pattern rather than a color, I get stuck. Here is how the line appears as VBA:
I have tried several different ways to translate this to JS, but haven't had ANY luck. (Note xlApp is my excel object) Here are the various ways I've tried this.
I'm about to lose it! PLEASE HELP ME!
Kevin
slanek@ssd.fsi.com
"Life is what happens to you while you're busy making other plans."
- John Lennon
Code:
Selection.Fill.Patterned Pattern:=msoPatternShingle
I have tried several different ways to translate this to JS, but haven't had ANY luck. (Note xlApp is my excel object) Here are the various ways I've tried this.
Code:
xlApp.Selection.Fill.Patterned(47);
xlApp.Selection.Fill.Patterned = 47;
xlApp.Selection.Fill.Patterned(null);
xlApp.Selection.Fill.Patterned(msoPatternShingle);
xlApp.Selection.Fill.Patterned = msoPatternShingle;
xlApp.Selection.Fill.Patterned.msoPatternShingle = true;
I'm about to lose it! PLEASE HELP ME!
Kevin
slanek@ssd.fsi.com
"Life is what happens to you while you're busy making other plans."
- John Lennon