Automating gray overlay in a graph
Hey Experts
Sorry about the titel if it doesn't say what i'm looking for, I'll try to explain. I have attached a image of the OMX Copenhagen 20 index over a period of 20 years. In the graph you see some gray overlay. I've are put in manually but I have alot of graph, and I want this to happen automatically.
The data is importet via the bloomberg functions in excel and the gay overlay is periods with recessions (def.: two quaters of negative growth in GNP).
Is there any with to make excel do this itself, does it include VBA or can it be done without? As you see the x-axis shows the dates and what you cannot see (on the axis but can see on the data) is that it is dayobservations. So I don't think there will be any problems with "finding" dates with this mysterious function that can do the gray overlays.
graph overlays
yes
something like this: