Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Pivot Chat Macro

Hi

I am using this code to view and refresh a Pivot Table:

Sub Rectangle3_Click()
On Error Resume Next
With Worksheets("Sheet4")
..Activate
..PivotTables(1).PivotCache.Refresh
End With
End Sub

I have two questions:
1. Can the macro be amended to view a Pivot Chart based on the Table in a
new worksheet?
2. When I created a Pivot Chart with a custom chart type (Line-Column on
2-Axis) in "Sheet4", and then ran this macro, the Pivot Table reverted to a
single axis column chart. How can I stop this happening?

Thanks
Rastus

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using the chat willie091028 Excel Discussion (Misc queries) 7 January 17th 07 10:43 PM
Chat sri Excel Discussion (Misc queries) 0 September 14th 06 01:02 PM
Can one use excel like a chat Christopher Sequeira[_2_] Excel Programming 1 June 25th 05 11:38 PM
Chat Room Workle New Users to Excel 1 February 8th 05 02:42 PM
Rescale the Chat using VBA Peri[_2_] Excel Programming 2 April 29th 04 04:28 AM


All times are GMT +1. The time now is 08:59 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"