LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Capture Filter 'AfterUpdate' event in Pivot Table

Hi,

1. I have a pivot table that shows price data vertically for 30 stock
ticker symbols, by stock symbol and date.. There is a verying number of
rows for each respepctive stock symbol.

2. A Filter dropdown box on the Stock Symbol column allows selection of all
or some of the stock symbols.

3. At the bottom of the entire table, at row 1650 when Show All is chosen,
is a TextBox with a 30-line disclaimer.

4. My goal is to have this disclaimer displayed immediately under the last
data row of the stock ticker symbol(s) selected. This is a legal
requirement.

5. PROBLEM: If I choose say only one stock and the last data row is 200,
the Disclalimer textbox is still displayed at row 1650, with 1450 blank rows
between the last data row and the disclaimer. .

6. Hence, I need a way to capture an 'AfterUpdate' event for the dropdown
box and

A. Get the last row number of the data displayed, based onn the stock
symbol(s) chosen, and
B. Move the Disclaimer textbox to that last row number + 2. It might be
easier if I put the text in a named range of cells instead of a
text box, but either way, I need to re-position the Disclaimer.


Is there a way to do this each time a different selection is made from the
filter dropdown??

Thanks for any help you can give.

Alan


 
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
afterupdate event in Excel md903 Excel Programming 1 November 30th 08 09:15 AM
Pivot table filter - Selected Item Event Sreekanth Excel Programming 2 September 9th 08 07:54 AM
PivotField AfterUpdate event? Snowsride Excel Programming 0 January 11th 06 01:12 PM
Capture Pivot table filter count whornak Excel Programming 1 November 23rd 05 11:59 PM
AfterUpdate Event not Running Craig[_21_] Excel Programming 10 November 6th 05 10:28 PM


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

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"