LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default Macro to graph (or draw) a vertical line on the chart

Hi Jerry -

I didn't see your post earlier - so this may be far too late to help you...
But if not -

I also noticed that the lines are slightly off - and after having worked
with it, I noticed that the vertical line marches along the x-axis as time
goes by during the day. If my lines move day to day, then depending on the
time of day, the line will move between the tick marks. Early AM has it
closer to the tick mark on the left, and later in the afternoon/evening has
the vertical line closer to the right tick mark.

Please let me know if you still have a problem, and I'll see what I can do...
--
Regards,
John


"Jerry" wrote:

Hi!

I was looking for the exact macro (I run it in a loop to highlight several
event dates).
However, when I apply the code, it is always slightly off:
1. Vertical bar but starts slightly above the plot area
2. It is also slightly off in terms of dates (about two days)
This seems weird as everything in the code is automatic (.Top, etc.)
I checked the axis and they are 100% standard, y cutting x at zero, etc.

Am I missing something obvious?
Thank you in advance for your help.

 
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
How do I draw a tangent line on a graph ? Tangent line placement Excel Discussion (Misc queries) 2 April 4th 23 02:20 PM
Draw a horizontal bar and line graph [email protected] Excel Discussion (Misc queries) 1 November 6th 08 09:40 AM
draw vertical line to mark today in diagram Florian Demmer Excel Discussion (Misc queries) 1 January 22nd 08 01:31 PM
How do i draw a regression line on a scatter graph tum tum Charts and Charting in Excel 1 May 19th 07 06:58 AM
Can I draw a tangent to a line in graph in Excel? J Heese Charts and Charting in Excel 1 September 2nd 06 02:41 PM


All times are GMT +1. The time now is 12:36 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"