Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Teresa
 
Posts: n/a
Default Can I select hiding a column as a conditional formatting?

I would like to set a conditional formatting that hides the first column of
my spreadsheet when a certain date expires. In addition I would like to add
another column in the back off all others at the same condition.
  #2   Report Post  
Earl Kiosterud
 
Posts: n/a
Default

Teresa,

The closest you could come using Conditional Formatting to hide stuff would
be to turn it white (the column would look empty) (I know, it's a crummy
solution). Conditional Formatting won't hide columns. An event-fired macro
could do it.
--
Earl Kiosterud
www.smokeylake.com

"Teresa" wrote in message
...
I would like to set a conditional formatting that hides the first column of
my spreadsheet when a certain date expires. In addition I would like to
add
another column in the back off all others at the same condition.



  #3   Report Post  
Teresa
 
Posts: n/a
Default

Turning it white won't work. Can you tell me where to find advice on how to
do such an event-fired macro??

"Earl Kiosterud" wrote:

Teresa,

The closest you could come using Conditional Formatting to hide stuff would
be to turn it white (the column would look empty) (I know, it's a crummy
solution). Conditional Formatting won't hide columns. An event-fired macro
could do it.
--
Earl Kiosterud
www.smokeylake.com

"Teresa" wrote in message
...
I would like to set a conditional formatting that hides the first column of
my spreadsheet when a certain date expires. In addition I would like to
add
another column in the back off all others at the same condition.




  #4   Report Post  
Earl Kiosterud
 
Posts: n/a
Default

Teresa,

You'll have to learn how to put macros in. Take a look at
http://www.mvps.org/dmcritchie/excel/getstarted.htm. Here's a sub that'll
probably do what you want. Put it in the relevant sheet module, not a
general module. You can paste it from he

Private Sub Worksheet_Change(ByVal Target As Range)
If Not Intersect(Target, Range("KeyDate")) Is Nothing Then
If Range("KeyDate").Value = Now() Then
Cells(1, 1).EntireColumn.Hidden = False
Else
Cells(1, 1).EntireColumn.Hidden = True
End If
End If
End Sub

I'm not sure what "another column in the back off all others" means. It
doesn't do that part.
--
Earl Kiosterud
www.smokeylake.com

"Teresa" wrote in message
...
Turning it white won't work. Can you tell me where to find advice on how
to
do such an event-fired macro??

"Earl Kiosterud" wrote:

Teresa,

The closest you could come using Conditional Formatting to hide stuff
would
be to turn it white (the column would look empty) (I know, it's a crummy
solution). Conditional Formatting won't hide columns. An event-fired
macro
could do it.
--
Earl Kiosterud
www.smokeylake.com

"Teresa" wrote in message
...
I would like to set a conditional formatting that hides the first column
of
my spreadsheet when a certain date expires. In addition I would like to
add
another column in the back off all others at the same condition.






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
cut and paste to different worksheet MINAL ZUNKE New Users to Excel 5 July 14th 05 12:09 AM
Conditional Formatting, reference another column DavidL Excel Worksheet Functions 4 April 7th 05 10:17 PM
how do i select every other cell in a column? every nth cell? froot_broot Excel Discussion (Misc queries) 5 March 23rd 05 06:03 PM
Conditional formatting row if cell value in certain column is even Hyland Hunt Excel Worksheet Functions 1 February 2nd 05 08:21 PM
copying conditional formatting to an entire column MaryMalone Excel Discussion (Misc queries) 1 November 30th 04 04:04 AM


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