View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Wandering Mage Wandering Mage is offline
external usenet poster
 
Posts: 32
Default How to call out object's text w/o selecting

If Right(Sheets("DATABASE VIEW").Shapes
("stations").Characters.Text, 3) = "OFF" Then hasstation =
1


This is what I am trying to do, I want to check to see if
the text (the last 3 letters) in the button
called "stations" are "OFF". I do not want to select the
button to do this, however. I tried above script, but it
does not work. Let me know if you have a solution. As
always, for the millionth time!, all help is appreciated!
Thanks.