PC Review


Reply
Thread Tools Rate Thread

Axis points labels on the xlCategory axis

 
 
Rob Pollard
Guest
Posts: n/a
 
      14th Jul 2003
Hi Folks,
I'm looking for a way to change the Category axis column labels with one
command, similar to how you would program a series object using the Values
property. I know it can be done as you can do it in the UI, unfortunately I
haven't a Scooby how to do it in code.


Many Thanks
--
Regards
Rob Pollard

My Astro CCD page is:
http://www.robpol.demon.co.uk


 
Reply With Quote
 
 
 
 
Rob Pollard
Guest
Posts: n/a
 
      14th Jul 2003
Hey Andy,
Thanks!!!!! That does the trick!!! I guess I owe you a few beers!


--
Regards
Rob Pollard

My Astro CCD page is:
http://www.robpol.demon.co.uk

"Andy Pope" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi Rob,
>
> This was captured using the Macro recorder.
>
> ActiveChart.SeriesCollection(1).XValues = "=Sheet1!R2C1:R8C1"
>
> or something like this
>
> Dim rngLabels As Range
>
> Set rngLabels = Range("B2:B8")
> ActiveChart.SeriesCollection(1).XValues = rngLabels
>
>
> Rob Pollard wrote:
> > Hi Folks,
> > I'm looking for a way to change the Category axis column labels with

one
> > command, similar to how you would program a series object using the

Values
> > property. I know it can be done as you can do it in the UI,

unfortunately I
> > haven't a Scooby how to do it in code.
> >
> >
> > Many Thanks

>
> --
>
> Cheers
> Andy
>
> http://www.andypope.info
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Overlapping time (X) axis labels with auto axis options Paul Kraemer Microsoft Excel Charting 1 8th Feb 2009 03:44 AM
move axes and axis labels behind data points on scatter chart Adrienne Microsoft Excel Charting 0 30th Oct 2008 10:53 PM
Data labels along below x axis when y axis has negative values Andrew Microsoft Excel Charting 1 3rd Jul 2008 08:36 PM
xy-scatter-labels disappear when x-axis is changed into time-axis (XL07) Holger Gerths Microsoft Excel Charting 8 5th Jun 2008 04:25 PM
y-axis tick mark labels overlap x-axis Charlie157 Microsoft Excel Charting 1 20th Jan 2004 04:45 PM


Features
 

Advertising
 

Newsgroups
 


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