Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Please help with this chart
Hi
HAve seen a answer from Bob Phillips and try this Sheets("Ark1").Select cLastRow = Cells(Rows.Count, "B").End(xlUp).Row Range("A1:B" & cLastRwo).Select Charts.Add ActiveChart.ChartType = xlColumnClustered ActiveChart.SetSourceData Source:=Sheets("Ark1").Range("A1:B" & cLastRwo), PlotBy:= _ xlRows ActiveChart.Location Whe=xlLocationAsNewSheet With ActiveChart .HasTitle = False .Axes(xlCategory, xlPrimary).HasTitle = False .Axes(xlValue, xlPrimary).HasTitle = False End With But get an error in Range("A1:B" & cLastRwo).Select CAn someone help here ? Alvin |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Please help with this chart
Sorry
Stupid error have find it Alvin "alvin Kuiper" wrote: Hi HAve seen a answer from Bob Phillips and try this Sheets("Ark1").Select cLastRow = Cells(Rows.Count, "B").End(xlUp).Row Range("A1:B" & cLastRwo).Select Charts.Add ActiveChart.ChartType = xlColumnClustered ActiveChart.SetSourceData Source:=Sheets("Ark1").Range("A1:B" & cLastRwo), PlotBy:= _ xlRows ActiveChart.Location Whe=xlLocationAsNewSheet With ActiveChart .HasTitle = False .Axes(xlCategory, xlPrimary).HasTitle = False .Axes(xlValue, xlPrimary).HasTitle = False End With But get an error in Range("A1:B" & cLastRwo).Select CAn someone help here ? Alvin |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
copy chart formatting and chart templates in Excel 2007 | Charts and Charting in Excel | |||
Change Chart Properties for Multiple Chart Shts using a Worksheet | Charts and Charting in Excel | |||
Excel 2003 is missing Built-In Custom Chart Types in Chart Wizard | Charts and Charting in Excel | |||
Excel 2003 is missing Built-In Custom Chart Types in Chart Wizard | Setting up and Configuration of Excel | |||
chart from pivot data does not update x-axis bar chart values - bug | Excel Discussion (Misc queries) |