Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default macro to run when I hide or unhide rows in a group

I need to keep a spreadsheet in manual recalc mode but would like it to
automatically recalc when rows in a group are hidden or unhidden.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,522
Default macro to run when I hide or unhide rows in a group

One way.
'============
Public rd
Sub ifrowhidechnage()
hr = Cells.Count
'MsgBox hr
vr = Cells.SpecialCells(xlCellTypeVisible).Count
'MsgBox vr
'msgBox rd
If hr - vr < rd Then MsgBox "hi"
rd = hr - vr
End Sub
'========
--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"IMcC" wrote in message
...
I need to keep a spreadsheet in manual recalc mode but would like it to
automatically recalc when rows in a group are hidden or unhidden.


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
Can you hide and unhide rows with a macro based on content of colu Husker87 Excel Programming 4 September 24th 08 01:06 AM
Hide/Unhide vs Group/Ungroup - Need Help Richard Excel Discussion (Misc queries) 5 August 28th 08 05:15 AM
Macro that will unhide then hide rows minka Excel Discussion (Misc queries) 10 October 21st 06 01:37 PM
Hide Unhide Group Box Sheikh Saadi Excel Programming 0 March 23rd 06 06:25 PM
How do I hide or unhide zero value columns/rows USING A MACRO? paul Excel Discussion (Misc queries) 1 January 23rd 06 03:06 PM


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