Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Format Chart's Y-axis . Urgent

Does anyone know to format the Y-axis value during vb run-time
I use vb6 to generate the Chart on Excel sheet and now i wan to format the Y-axis value
This is because my Y-axis value is in Percentage value and the autoscalling value will more than 100% value

Any help will be appreciated and thax in advance

Gin Lye.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default Format Chart's Y-axis . Urgent

Hi Gin
try something like:

With ActiveChart.Axes(xlValue)
.MinimumScale = 0
.MaximumScale = 1
End With

Frank

Gin Lye wrote:
Does anyone know to format the Y-axis value during vb run-time.
I use vb6 to generate the Chart on Excel sheet and now i wan to
format the Y-axis value.
This is because my Y-axis value is in Percentage value and the
autoscalling value will more than 100% value.

Any help will be appreciated and thax in advance.

Gin Lye.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Format Chart's Y-axis . Urgent

Hi Frank
i tried this before
the problem is, it can only run one-time
After that, error occur
How to deal it

Gin Lye.
Reply
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
formatting or moving a radar chart's axis labels icystorm Excel Discussion (Misc queries) 0 February 9th 10 02:40 AM
Delete chart's custom number format? GeoBrooks Charts and Charting in Excel 6 February 3rd 09 12:26 AM
How to let pivot table chart's format stay after refreshing data. JJ Charts and Charting in Excel 2 December 2nd 08 05:36 PM
How do I change a Chart's axis scale from visual basic? jfiorillo Charts and Charting in Excel 2 June 21st 06 08:42 PM
Urgent Help Needed: X axis to scale ffuh Charts and Charting in Excel 2 January 7th 06 12:03 AM


All times are GMT +1. The time now is 06:37 PM.

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

About Us

"It's about Microsoft Excel"