Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Data Not Corresponding to Dates in Excel Chart

Status
Not open for further replies.

RH610

Programmer
Aug 7, 2001
152
US
I create a chart in VBA by loading a text file with dates and data and then using the chartadd command. Everything is fine except the data does not line up correctly with the dates on the x-axis. Problem is that Excel puts up the whole month for whatever the first date of my data is and starts the data there. For instance, if the first date of my data is 9/23/2002, the chart puts up the whole month of Sept and puts the 9/23 data on 9/1. Any solution to this problem?

Thank You


 
Hi,

What style of chart are you using. You probably need to use an x-y scatter chart. I have a chart with blood pressure readings (date/time, systolic, diastolic) Comes out great with dates on the x-axis, major axis grids 7.


Skip,
Skip@TheOfficeExperts.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top