LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #7   Report Post  
Posted to microsoft.public.excel.programming,microsoft.public.excel.charting
external usenet poster
 
Posts: 8
Default Excel 2007 chart line width + axis labelling with VBA

On Aug 23, 7:32*pm, "Peter T" <peter_t@discussions wrote:
That's the method for formatting the border (ie line) weight in
Excel97-2003, and works in 2007 for compatibility. The .Weight property can
accept any one of four constants, 1, 2, -4138, or 4, also named as
xlHairline, xlThin, xlMedium & xlThick respectively.

Providing your value for 'n' is one of these constants your code will work.
But don't try say 5 (you can apply 3 but it will read back as -4138). For
2007 better to use the method Andy and I suggested.

Regards,
Peter T



Thanks, that's indeed what I've done.
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel 2007 chart line width + axis labelling with VBA HB[_2_] Charts and Charting in Excel 6 August 25th 09 01:01 AM
Line chart - time series - category axis date format (2007 VBA) Paul Jacob Charts and Charting in Excel 1 April 18th 09 03:10 AM
Excel 2007 line chart automatic category axis text rotation Boris Charts and Charting in Excel 2 December 4th 08 11:56 PM
Line chart categoray axis labels issue - Excel 2007 Boris Charts and Charting in Excel 2 December 4th 08 04:55 PM
Bar chart x axis labelling JRD Charts and Charting in Excel 1 December 20th 06 01:21 PM


All times are GMT +1. The time now is 07:13 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"