#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 192
Default Column Width

I would like to hide/unhide columns using the column width (equal to "0"). I
would like to do this as a result of the contents of a cell. For instance,
if user answers "Yes" to a question, then hide column D. Can this be done?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,124
Default Column Width

You give no detail but this can be done with a worksheet_change event in the
sheet module

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Nick" wrote in message
...
I would like to hide/unhide columns using the column width (equal to "0").
I
would like to do this as a result of the contents of a cell. For
instance,
if user answers "Yes" to a question, then hide column D. Can this be
done?


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 192
Default Column Width

For detail.

A1 has a drop down for "Yes" or "No" as choices. I want column C to be
hidden if A1="Yes" and unhidden if A1="No". This would be written as an "if"
function.

=if(A1="Yes", columnwidth C;C=0, columnwidth C;C=10)

This doesnt work this way, is there a command that I can use in the formula
line to control column width?

"Don Guillett" wrote:

You give no detail but this can be done with a worksheet_change event in the
sheet module

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Nick" wrote in message
...
I would like to hide/unhide columns using the column width (equal to "0").
I
would like to do this as a result of the contents of a cell. For
instance,
if user answers "Yes" to a question, then hide column D. Can this be
done?


.

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
Change Cell Width WITHOUT changing Column width dww701 Excel Discussion (Misc queries) 1 January 12th 09 10:52 PM
how do I create multiple column width in the same column in excel Vish Excel Discussion (Misc queries) 9 November 3rd 06 11:49 PM
How to make cell width different than the column width it lies in John Excel Discussion (Misc queries) 2 September 11th 06 10:41 PM
Varying column width in a column chart Silvie Dedkova Charts and Charting in Excel 1 March 22nd 05 01:53 PM
Change the width of a single column in a column chart Dave Charts and Charting in Excel 2 December 13th 04 07:25 PM


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