LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 192
Default Conditional row height?

Terry Pinnell wrote:

Claus Busch wrote:

Hi again,

Am Fri, 8 Apr 2016 21:57:24 +0200 schrieb Claus Busch:

Formulas = Name Manager = New
Name: Dates
Refers To:
=OFFSET($B$1,,,MATCH(--(YEAR(TODAY())&TEXT(MONTH(TODAY()),"00")&TEXT(DAY( TODAY()),"00")),$B:$B,-1))


if you want to color the 3 columns change the Refers To to:
=OFFSET($A$1,,,MATCH(--(YEAR(TODAY())&TEXT(MONTH(TODAY()),"00")&TEXT(DAY( TODAY()),"00")),$B:$B,-1),3)

and the macro to:

Sub RowH()
Range("A:C").Interior.ColorIndex = xlNone
With Range("Dates")
.EntireRow.RowHeight = 16
.Interior.ColorIndex = 6
End With
End Sub


Regards
Claus B.


Thanks very much Claus.


I forgot to add: Can you advise how I modify it to deal with this
slightly different scenario please. It's now the FIRST two that
indicate a redundant cell, not the last.

https://dl.dropboxusercontent.com/u/...omeCells-2.jpg

--
Terry, East Grinstead, UK
 
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
Row Height stopped growing and Auot-Fit Row Height does not work PSULionRP Excel Discussion (Misc queries) 0 May 19th 09 07:59 PM
How do I use conditional formatting to set text height and indent. Melody New Users to Excel 1 December 31st 08 04:03 PM
Conditional Row Height dhstein Excel Discussion (Misc queries) 3 November 3rd 08 11:29 PM
Resizing row height to dynamically fit height of text box Jon Excel Discussion (Misc queries) 1 August 8th 05 01:37 PM
How to edit row height with conditional formatting? CDAK Excel Discussion (Misc queries) 4 June 12th 05 06:41 PM


All times are GMT +1. The time now is 08:57 AM.

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"