Thanks in advance for any help!
I am working in Excel 2003. I have a excel workbook with multiple sheets, and a sheet called Graph, which I want to contain a graph that automatically updates based on the information in range B7:F14. The information in this range is updated by a drop-down list in cell A1 which contains 11 different values. Some of the selections in this drop-down list will populate the entire range but some will not. When the range is not completely populated the legend of the graph contains extra symbols. Hiding and Unhiding the un-populated rows will eliminate the extra symbols in the legend. In range A7:A14 there is a formula that will either display "Hide" or "" based on if the rows contain information that needs to be in the graph. I am new to VBA, so any help creating a code for a Macro that will Hide and Unhide the rows 7-14 based on the formula result from A7:F14 would be greatly appreciated.
Thanks
I am working in Excel 2003. I have a excel workbook with multiple sheets, and a sheet called Graph, which I want to contain a graph that automatically updates based on the information in range B7:F14. The information in this range is updated by a drop-down list in cell A1 which contains 11 different values. Some of the selections in this drop-down list will populate the entire range but some will not. When the range is not completely populated the legend of the graph contains extra symbols. Hiding and Unhiding the un-populated rows will eliminate the extra symbols in the legend. In range A7:A14 there is a formula that will either display "Hide" or "" based on if the rows contain information that needs to be in the graph. I am new to VBA, so any help creating a code for a Macro that will Hide and Unhide the rows 7-14 based on the formula result from A7:F14 would be greatly appreciated.
Thanks