Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 175
Default making a timeline

Is there away to make a timeline
where i know the lowest and highest value
and where i know
the middel and varians value

Thanks

Alvin

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default making a timeline

Here is a rough start for you.


Sub ab()
Dim j As Long, i As Date
Dim StartDate As Date, EndDate As Date
Dim Interval As Long
Dim NumOfIntervals As Long

StartDate = #1/1/2006#
EndDate = #3/31/2006#
NumOfIntervals = 15

j = 0
Interval = Int((EndDate - StartDate) / NumOfIntervals)
For i = StartDate To EndDate Step Interval
Range("A1").Offset(0, j).Value = i
j = j + 1
Next


End Sub

--
Regards,
Tom Ogilvy


"alvin Kuiper" wrote in message
...
Is there away to make a timeline
where i know the lowest and highest value
and where i know
the middel and varians value

Thanks

Alvin



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 175
Default making a timeline

Hi tom

It was not whar i ment, I try to explain later and come back
with a new thread is that allright??

But thanks
Alvin


"Tom Ogilvy" wrote:

Here is a rough start for you.


Sub ab()
Dim j As Long, i As Date
Dim StartDate As Date, EndDate As Date
Dim Interval As Long
Dim NumOfIntervals As Long

StartDate = #1/1/2006#
EndDate = #3/31/2006#
NumOfIntervals = 15

j = 0
Interval = Int((EndDate - StartDate) / NumOfIntervals)
For i = StartDate To EndDate Step Interval
Range("A1").Offset(0, j).Value = i
j = j + 1
Next


End Sub

--
Regards,
Tom Ogilvy


"alvin Kuiper" wrote in message
...
Is there away to make a timeline
where i know the lowest and highest value
and where i know
the middel and varians value

Thanks

Alvin




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
best timeline New General Comment[_2_] Charts and Charting in Excel 1 May 27th 10 04:54 PM
Timeline Chart Urgent question regarding LIST[_2_] Charts and Charting in Excel 1 March 22nd 08 07:15 PM
Timeline Chart? PaulW Excel Discussion (Misc queries) 2 December 18th 07 06:25 AM
timeline Boswell Charts and Charting in Excel 0 June 10th 07 03:14 PM
Timeline Chart? ckrogers Charts and Charting in Excel 3 March 17th 05 09:20 PM


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

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"