Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Sorry Spencer - I didn't realise you were using the Control Toolbox.
I'd give you another solution but Bob (and others?) have an supplied excellent solution already. -- Rob van Gelder - http://www.vangelder.co.nz/excel "Spencer Hutton" wrote in message om... i posted a question last night about this and the answer was not as effective as i would have liked. i have a sheet with ove 100 labels on it and i am trying to clear all of their captions wih a loop. someone gave me this code: Dim shp As Shape For Each shp In ActiveSheet.Shapes If shp.Type = msoFormControl Then If shp.FormControlType = xlLabel Then shp.TextFrame.Characters.Text = "" End If End If Next which did not do what i expected. can anyone offer anything further? see post on 11/20 @ 12:00 AM Thank you. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
X axis captions | Charts and Charting in Excel | |||
Cell values as captions | Excel Discussion (Misc queries) | |||
clear captions from all labels | Excel Programming | |||
reset menu captions | Excel Programming | |||
Clear Textboxes, Labels, and Checkboxes | Excel Programming |