Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 837
Default Event triggered by Hiding/Unhiding columns?

Is there any event that would detect a user hiding or unhiding columns?

I have a graph that plots data together with some computed quantities.
I want the computed quantities to reflect only the data that is visible
on the graph (from columns that are not hidden). I wrote an IsVisible()
function to make the computations use only the visible data, but
hiding/unhiding columns does not trigger a recalculation, even if
IsVisible() is declared Volatile.

Jerry

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 109
Default Event triggered by Hiding/Unhiding columns?

AFAIK - no.

Volatile would be of no use. It only works within a user defined
Function which, when volatile, will recalculate every time the sheet
caclulates - or, if not volatile, will only calculate if cells to
which the formula refers are changed.

I can only sugest a macro which checks if columns are hidden or not
and changes a chart reference array accordingly. You seem to have done
this anyway. But you still have to figure out how to run it. I suppose
a simple button if all else fails.

Regards
BrianB
=============================================

"Jerry W. Lewis" wrote in message ...
Is there any event that would detect a user hiding or unhiding columns?

I have a graph that plots data together with some computed quantities.
I want the computed quantities to reflect only the data that is visible
on the graph (from columns that are not hidden). I wrote an IsVisible()
function to make the computations use only the visible data, but
hiding/unhiding columns does not trigger a recalculation, even if
IsVisible() is declared Volatile.

Jerry

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
One-click hiding/unhiding of many non-adjacent columns/rows? Jeff Wow Excel Discussion (Misc queries) 4 April 6th 09 03:14 PM
Hiding/Unhiding Columns Karen McKenzie Excel Worksheet Functions 3 August 10th 06 11:49 AM
Hiding/Unhiding Columns xkarenxxxx Excel Worksheet Functions 8 June 5th 06 02:18 PM
hiding/unhiding rows & columns with "+" and "-" buttons shellshock Excel Discussion (Misc queries) 2 August 3rd 05 05:22 AM
Macro triggered by an event AussieAVguy Excel Discussion (Misc queries) 2 June 16th 05 05:51 AM


All times are GMT +1. The time now is 01:39 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"