Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Charting with VBA

I've been working in excel 2000 and i'm running into a strang
limitation while attempting to generate charts in VBA

I'm trying to generate a pie chart and i create a temp worksheet an
chart sheet. Then i read the relevant data into some string arrays the
i do


with chrtOutput.seriescollection(1)
.Values = iValues
.XValues = sLabelData
end with

Unfortunately the .Xvalues assignment ends up failing when any elemen
of sLabelData() contains more than 15 characters and contains more tha
one spaces.

All I really want it is for the labels to appear in the legend. Anyon
have any suggestions on how to work around this limitation? I'm reall
fresh out of ideas (most of my mental energy was spent figuring out wh
the .XValues assignment was failing).

I'd prefer if possible a solution that doesn't involve using range
instead of string arrays

--
Message posted from http://www.ExcelForum.com

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Charting? [email protected] Charts and Charting in Excel 2 October 31st 08 03:00 PM
#N/A isn't charting in VBA Joe_Hunt Charts and Charting in Excel 2 August 19th 08 07:41 PM
3D Charting BugOnPoint Charts and Charting in Excel 0 June 23rd 08 02:38 AM
charting in vb.net BT Charts and Charting in Excel 2 May 29th 05 06:34 PM
Custom charting - Stacked charting with a line Randy Lefferts Charts and Charting in Excel 3 March 3rd 05 03:10 AM


All times are GMT +1. The time now is 12:17 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"