![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: Feb 2002
Posts: 30
|
Hi,
I'm looking for a little piece of code to do the following: IF cell b7 is empty THEN hide column b END IF Any help would be greatly appreciated dunk |
|
|
|
|
|
#2 |
|
New Member
Join Date: Feb 2002
Posts: 30
|
Anybody help??
|
|
|
|
|
|
#3 |
|
Board Regular
Join Date: Feb 2002
Posts: 1,802
|
paste this into the worksheet_SelectionChange sub:
Columns(2).Hidden = IsEmpty(Range("b7").Value) hope that helps giacomo |
|
|
|
|
|
#4 |
|
New Member
Join Date: Feb 2002
Posts: 30
|
A big thank you.
Its only easy if you know how!! |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|