Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
How can I use IIF statement to display or hide a graphic?
|
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Bob
If by Graphic you mean a chart. Try this it will hide charts on a page if a condition is not true. Take care Marcus Option Explicit Sub VisibleChObj() If Range("B1").Value = 1 Then ActiveSheet.ChartObjects.Visible = True Else ActiveSheet.ChartObjects.Visible = False End If End Sub |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I hide the #DIV0! statement in a cell? | Excel Discussion (Misc queries) | |||
how do I hide zeros in a graphic? | Charts and Charting in Excel | |||
What graphic format? | Excel Discussion (Misc queries) | |||
Hide Row command using if statement | Excel Worksheet Functions | |||
VBA-Graphic | Excel Programming |