View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Le_requin Le_requin is offline
external usenet poster
 
Posts: 1
Default Starting a macro based on cell value


Hi,

I build a report in Excel with a month-selector. What I want to achieve
is that if a different month is selected the macro will be runned
automatically. The macro will update two pivots using the commands
below:

ActiveSheet.PivotTables("PivotTable2").PivotCache. Refresh
ActiveSheet.PivotTables("PivotTable1").PivotCache. Refresh

Tips are very welcome :)

Thanx,
Mike


--
Le_requin
------------------------------------------------------------------------
Le_requin's Profile: http://www.excelforum.com/member.php...o&userid=14831
View this thread: http://www.excelforum.com/showthread...hreadid=264635