Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi. In Excel 2003, I have a workbook in which I've set up several sumproduct
formulae to be utilized in a chart. Additionally I have a macro that will hide columns for which the sumproduct = 0. There was a delay when adding new data to the source page, so I turned on Manual calculate which immediately corrected that issue. However, when I run the macro, which begins with a command to calculate, the chart will not update to show the new columns of data until I run the macro a second time, even though the column is no longer hidden in the data page. I've included the code below. Is there a way to force the chart to update in the macro? Thanks, in advance. Sub hideconfigcolumns() Sheets("Machine Types Charted").Select Calculate Columns("m:as").Select Selection.EntireColumn.Hidden = False With ActiveSheet For i = 13 To 50 If Cells(16, i) = 0 Then Cells(1, i).EntireColumn.Hidden = True End If Next End With End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel Manual Calculation | Excel Worksheet Functions | |||
Manual Calculation | Setting up and Configuration of Excel | |||
Manual control of link updating for downloaded quotes? | Excel Discussion (Misc queries) | |||
Calculation set as Manual | Excel Discussion (Misc queries) | |||
Manual calculation does not work | Excel Discussion (Misc queries) |