Re: Hide Selected Objects

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance




Hi,

Following up on Gord's suggestion here is code that will hide the selected
objects, in this case shapes:

Selection.ShapeRange.Visible = False

Keep in mind that you can't reverse this by writing

Selection.ShapeRange.Visible = True

besause you can't select things you can't see. So in that case you need
something like this

ActiveSheet.Shapes.Range(Array("Rectangle 1", "Rectangle 2")).Visible = True

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"Gord Dibben" wrote:

With VBA you could probably do this.

What type of objects are you referring to?

Selectable objects you have inserted like drawing objects or pictures?


Gord Dibben MS Excel MVP


On Sat, 27 Jun 2009 07:09:01 -0700, Clara <Clara@xxxxxxxxxxxxxxxxxxxxxxxxx>
wrote:

Hi,

Anyone know how can i hide selected objects only instead of hiding all
objects in my worksheet?


.



Relevant Pages

  • Re: Is there "an unconscious"?
    ... >> Tim McNamara wrote: ... >>> mind etc were born from the fear of death, ... > self-induced hallucinations are as good an explanation as any. ... in the mind out of a sufficient suggestion in the environment? ...
    (sci.psychology.psychotherapy.moderated)
  • Re: Bards Fascination ability: broken?
    ... They chose to use their abilities to get what ... > They're not role-playing, but never mind that. ... I don't care if they ... they're using fascinate and suggestion. ...
    (rec.games.frp.dnd)
  • Re: Transcendence -- The Other Side
    ... Tomcat, as opposed to a rationalist, I am a 'reasonablist', and I ... Concept of Mind' opted for mental behaviourism, ... substands the colors and shapes that flow around and about us? ... meaning because it can never be a well formed forumula for thought. ...
    (rec.org.mensa)
  • Re: Transcendence -- The Other Side
    ... is considered as objective reality. ... 'I'll be back, Tomcat, and we are largely in sympathy. ... Concept of Mind' opted for mental behaviourism, ... substands the colors and shapes that flow around and about us? ...
    (rec.org.mensa)
  • Re: "Speed cameras are inaccurate" says Police Supt.
    ... "Work" is what you do to earn your living. ... previous job and found he didn't mind it after all. ... even when they have acted on your suggestion? ... as in "the notion that there might be a job they liked didn't enter their heads". ...
    (uk.legal)