LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 173
Default How I can set dynamic pivot table ONLY when I have enough data point

Vincent,

This is a simple solution, but might work for you. Place an image over the chart such that the chart can't be seen (image could be a simple white background or even a message such as "Not enough data").

Then, place this code in the worksheet's Change event:

Private Sub Worksheet_Change(ByVal Target As Range)

Sheet1.Shapes("Image1").Visible = WorksheetFunction.CountA(Range("$A$2:$A$23")) < 13

End Sub

 
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
Sum to a mid point in a dynamic table raith99 Excel Discussion (Misc queries) 2 May 11th 13 12:21 AM
Source data for pivot table to point to cell on worksheet? J.W. Aldridge Excel Programming 0 March 21st 08 04:50 PM
vlookup data in a dynamic pivot table? MikeM Excel Worksheet Functions 4 January 2nd 06 10:00 PM
pivot table with dynamic base data bb Charts and Charting in Excel 2 June 13th 05 04:16 PM
Pivot Table & Dynamic data Sophism Excel Programming 1 September 3rd 04 01:00 PM


All times are GMT +1. The time now is 11:11 PM.

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

About Us

"It's about Microsoft Excel"