Excel 2012 | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | K | L | M | |||
1 | Using 2 additional helper rows to set band | ||||||||||||||
2 | Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec | |||
3 | Inventory | 71 | 53 | 58 | 29 | 30 | 78 | 1 | 76 | 82 | 71 | 4 | 41 | ||
4 | Lower Band Value | 60 | 60 | 60 | 60 | 60 | 60 | 60 | 60 | 60 | 60 | 60 | 60 | ||
5 | Upper Band Value | 70 | 70 | 70 | 70 | 70 | 70 | 70 | 70 | 70 | 70 | 70 | 70 | ||
6 | |||||||||||||||
7 | |||||||||||||||
8 | |||||||||||||||
9 | Without using 2 additional helper rows | ||||||||||||||
10 | Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec | |||
11 | Inventory | 71 | 53 | 58 | 29 | 30 | 78 | 1 | 76 | 82 | 71 | 4 | 41 | ||
工作表2 |
Is it possible to add colored band ( on value axis )to a line chart via VBA, such that no additional helper rows are needed for adjustment ( the table below )?
i.e. user simply runs the code and edit the band width within the VBE.
Thanks a lot!