Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default Show / Hide Label

How do you show a label if a specific cell is not null. Thanks
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default Show / Hide Label

I got it...

On Error Resume Next
For Each sh In ActiveWorkbook.Worksheets
sh.OLEObjects("label1").Visible = sh.Range("D3").Value < ""
Next sh

"O...." wrote:

How do you show a label if a specific cell is not null. Thanks

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
Macro or VB code to hide and unhide Label box Den Excel Discussion (Misc queries) 1 May 19th 10 02:37 AM
how to Hide/reappear label & check boxes MWL Excel Discussion (Misc queries) 0 February 12th 09 04:56 PM
How do i make the whole y axis label show up it wont show the end Jordan Charts and Charting in Excel 1 November 24th 07 06:07 AM
Show data used and percent label Desiree Charts and Charting in Excel 2 October 18th 05 04:34 PM
label does not show??? mark kubicki Excel Programming 1 April 18th 05 07:07 PM


All times are GMT +1. The time now is 06:38 AM.

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"