Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Straight line charts work fine using VBA, but I couldn't get Stock charts to work at all. I used the following code: Charts.Add ActiveChart.ChartType = xlStockHLC etc. etc. When running the code I get the following error message - Run-time error '1004' Method 'ChartType' of object '_Chart' failed. When debugging, the line "ActiveChart.ChartType = xlStockHLC" is highlighted in yellow and the values on both sides of the = sign are different. The left side (ActiveChart.ChartType) = 55 and the right side (xlStockHLC) = 81. Why would this happen with an assignment of chart type? Best regards, Fred |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
drawing org charts | Excel Worksheet Functions | |||
Drawing Objects disappear from charts | Charts and Charting in Excel | |||
Drawing Order of Data Series on Charts | Charts and Charting in Excel | |||
why don't my drawing tools work in my charts | Charts and Charting in Excel | |||
Problem drawing lines on charts | Charts and Charting in Excel |