Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I have three cells named and want to use that name in a vba chart procedure for a xl3DColumnStacked chart ActiveChart.SeriesCollection(1).Values = sheet1.Range(scol1v) I used in the procedu Dim scol1v As String Let scol1v = "ThreeValues" Meaningless note: I used sheet1 as Name and CodeName In the excel GUI you find the name "ThreeValues" is defined as this reference: 'sheet1'!$A$1;'sheet1'!$A$4;'sheet1'!$A$6 I thougt it just was to specify the sheet + name, but the debbugger doesn't like that. what am i doing wrong? Shall I use array() or something? Please give me a syntax or procedure that works that I can look at... Regards |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Adjusting formulas by copying across cells w/o changing the refere | Excel Worksheet Functions | |||
Custom error bars bug -- copy pasting chart does not update refere | Charts and Charting in Excel | |||
Named range as chart data reference (error) | Charts and Charting in Excel | |||
3 cells are named - how to refere to them in one reference field in a chart | Charts and Charting in Excel | |||
Adding to the SeriesCollection of a chart object in VB6 | Excel Programming |