Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.charting
ramkumar_cpt
 
Posts: n/a
Default Problem in displaying the chart


Hi all,

Good evening. I am facing one problem at creating chart. This
is my coding.


Charts.Add
ActiveChart.ChartType = xlBarClustered
ActiveChart.SetSourceData Source:=Sheets("Data").Range("A5:E6"),
PlotBy:= _
xlRows
* ActiveChart.Location Whe=xlLocationAsObject, Name:="Cost"*
With ActiveChart
.HasTitle = True
.ChartTitle.Characters.Text = _
"5 Time Predictability of Design and Construction"
.Axes(xlCategory, xlPrimary).HasTitle = False
.Axes(xlValue, xlPrimary).HasTitle = False
End With



I have 4 sheets in my excel. Such as Start, Industry Radar, Cost,
Data.
I want to create chart using "Data" sheet value and displayed that
chart in Cost sheet. I have created it. In my system it is working fine.
But in my friend system The chart is displayed in first sheet(It is
displayed in start sheet). But i have to displayed in Cost sheet. Pls
help me why this problem? I am using office 2003. My friend is using
office 2000.


--
ramkumar_cpt
------------------------------------------------------------------------
ramkumar_cpt's Profile: http://www.excelforum.com/member.php...o&userid=28673
View this thread: http://www.excelforum.com/showthread...hreadid=485822

  #2   Report Post  
Posted to microsoft.public.excel.charting
Tushar Mehta
 
Posts: n/a
Default Problem in displaying the chart

Is it possible the Cost sheet is protected on your friend's computer?

Do you have any 'On Error {something}' clause in your code? If so, get
rid off it and try the code again.

--
Regards,

Tushar Mehta
www.tushar-mehta.com
Excel, PowerPoint, and VBA add-ins, tutorials
Custom MS Office productivity solutions

In article ,
says...

Hi all,

Good evening. I am facing one problem at creating chart. This
is my coding.


Charts.Add
ActiveChart.ChartType = xlBarClustered
ActiveChart.SetSourceData Source:=Sheets("Data").Range("A5:E6"),
PlotBy:= _
xlRows
* ActiveChart.Location Whe=xlLocationAsObject, Name:="Cost"*
With ActiveChart
.HasTitle = True
.ChartTitle.Characters.Text = _
"5 Time Predictability of Design and Construction"
.Axes(xlCategory, xlPrimary).HasTitle = False
.Axes(xlValue, xlPrimary).HasTitle = False
End With



I have 4 sheets in my excel. Such as Start, Industry Radar, Cost,
Data.
I want to create chart using "Data" sheet value and displayed that
chart in Cost sheet. I have created it. In my system it is working fine.
But in my friend system The chart is displayed in first sheet(It is
displayed in start sheet). But i have to displayed in Cost sheet. Pls
help me why this problem? I am using office 2003. My friend is using
office 2000.


--
ramkumar_cpt
------------------------------------------------------------------------
ramkumar_cpt's Profile:
http://www.excelforum.com/member.php...o&userid=28673
View this thread: http://www.excelforum.com/showthread...hreadid=485822


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
Excel chart problem B. R.Ramachandran Excel Worksheet Functions 0 September 13th 05 10:32 PM
Dynamic Bar Chart Category Axis Problem Richard Charts and Charting in Excel 1 September 13th 05 09:51 AM
Problem with Chart Title Formatting KvnLynch Charts and Charting in Excel 1 January 12th 05 03:15 AM
Strange Problem with Chart and Plot Visible Cells Option Marcus Leon Charts and Charting in Excel 1 January 7th 05 03:52 AM
Hiding or Displaying Series In a Chart SPYREN Charts and Charting in Excel 1 November 27th 04 12:49 PM


All times are GMT +1. The time now is 12:18 AM.

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"