Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Hide/unhide sheet macro based on cell calculation

Change only triggers on a physical edit in this type of situation. You
would need to use the change event where you actually make the change.

--
Regards,
Tom Ogilvy


"Greg Fisher" wrote in message
...
I do not understand why this does not work. I have changed the value of

cell
C3 directly, and the macro works. If I have a reference in another sheet

to
cell C3 and chage it on the other sheet, it will not work when the
spreadsheet calcs and updates cell C3. For some reason, the macro does

not
run.


"Tom Ogilvy" wrote:

The calculate event is associated with calculations, but isn't specific

to a
given cell.

But it seems like the changing of a cell would trigger the calculate, so

why
not the change event?

--
Regards,
Tom Ogilvy

"Greg Fisher" wrote in message
...
I have a spreadsheet that calculates regions in the US. Based on a

user
input of city, state I have a lookup that return the region. Each

worksheet
ties to the region (ie Region 01) that is returned from the user

input.
I
created another lookup in case there are multiple returns of the

region,
where I have a column that retuns only unique regions. THis is where

I
need
a macro that will unhide the sheet if the region is named. I have

tried
other code from this website, however, it is event enabled and

requires a
direct input. Is there something that will work off calculations?






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
Macro to hide/unhide WS based upon WS tab color Joe M. Excel Discussion (Misc queries) 1 April 8th 10 07:28 PM
how can I unhide/hide a sheet based on pull down selection? Keith Excel Discussion (Misc queries) 1 August 12th 08 04:17 PM
How to hide/unhide a sheet? Arup C[_2_] Excel Discussion (Misc queries) 1 October 23rd 07 12:16 PM
Hide or unhide sheets based on cell billinr Excel Discussion (Misc queries) 2 July 13th 07 07:42 PM
Macro to hide and unhide based on criteria [email protected] Excel Discussion (Misc queries) 1 June 5th 06 08:05 PM


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