ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Charts and Charting in Excel (https://www.excelbanter.com/charts-charting-excel/)
-   -   Flexible X axis VBA/Macro generated (https://www.excelbanter.com/charts-charting-excel/222744-flexible-x-axis-vba-macro-generated.html)

duncan beech

Flexible X axis VBA/Macro generated
 
I am trying to create a chart showing a payment profile with a fixed start date but variable end. Manually, simple, select all cells with a date before the end date and that is X axis, and series data for appropriate cells.

How can I create an X axis range which only goes to the end year? The same process will presumably apply to series data also.

This cannot be so difficult I would have thought. Am I missing something?

Duncan Beech

Jon Peltier

Flexible X axis VBA/Macro generated
 
Skip the macros, and try this approach:

http://peltiertech.com/WordPress/dynamic-charts/

At the end of the tutorial are links to specific examples.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services, Inc.
http://PeltierTech.com/WordPress/
_______


"duncan beech" wrote in message
...

I am trying to create a chart showing a payment profile with a fixed
start date but variable end. Manually, simple, select all cells with a
date before the end date and that is X axis, and series data for
appropriate cells.

How can I create an X axis range which only goes to the end year? The
same process will presumably apply to series data also.

This cannot be so difficult I would have thought. Am I missing
something?

Duncan Beech




--
duncan beech





All times are GMT +1. The time now is 03:57 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com