Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have the following bit of code in a larger macro, that plots column B
along the X axis and C along the Y axis. I'd really like it to switch the axes so that it's C on the X and B on the Y. Changing the actual columns isn't really an option... Charts.Add With ActiveChart .ChartType = xlXYScatter .SetSourceData Source:=Sheets(bcbsheet$).Range("B:C"),PlotBy:=xlC olumns .Location Whe=xlLocationAsNewSheet .Name = "some text" .HasTitle = True .ChartTitle.Characters.Text = "some text" .Axes(xlCategory,xlPrimary).HasTitle = False .Axes(xlValue, xlPrimary).HasTitle= False End With Any hints on how to "fix it"? Bruce -- +-------------------+---------------------------------------------------+ Bruce Bowler | Human beings are the choices they make under 1.207.633.9600 | pressure. - Bob McKee | +-------------------+---------------------------------------------------+ |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Removing Plot lines between plot points on a line chart | Charts and Charting in Excel | |||
Exchanging information | Excel Worksheet Functions | |||
exchanging rows | Excel Worksheet Functions | |||
exchanging values amoung sheets | Excel Worksheet Functions | |||
Exchanging data between Linux and Excel | Excel Programming |