Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Hi, Please be aware that I have also posted this in the XL Charts group as I am not sure which is most appropriate. I have a chart set up (eg a simple bar chart) that I want to be able to update automatically using VBA. The source data will vary in quantity and I have no way of knowing in advance how many data there will be. Eg I might currently have: A1 B1 C1 D1 10 12 15 35 but when I want to refresh the chart I might have: A1 B1 C1 D1 E1 F1 15 5 10 20 25 10 (don't worry about the actual values). How do I tell Excel to re-size the source data area automatically (ie as part of a VBA macro) - the number of data may reduce as well as increase? I'm reasonalby comfortable with VBA but by no means am I a programmer, so a brief explanation of how the solution works would be appreciated. This is in Office 2003 if that makes a difference. TIA Dave |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Change Source Data in VBA | Charts and Charting in Excel | |||
Problem when trying to change source data | Charts and Charting in Excel | |||
how do i change the data source | Excel Discussion (Misc queries) | |||
Is there a way to keep the formulas and change their source data? | Excel Discussion (Misc queries) | |||
Change Data Source | Excel Programming |