Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35
Default makeing the pictures visible or invisible

Hi,

I have some pictures on my worksheet named object 39 and object 40 and ...
I need to know how I can make them to be visible or invisible base on a
cell's value ?

Thanks in advance.


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,124
Default makeing the pictures visible or invisible

this should hide/unhide all shapes on the active sheet
Sub getshapenames()
For Each sh In ActiveSheet.Shapes
sh.visible=not sh.visible
Next sh
End Sub


--
Don Guillett
SalesAid Software

"2007-User" wrote in message
...
Hi,

I have some pictures on my worksheet named object 39 and object 40 and ...
I need to know how I can make them to be visible or invisible base on a
cell's value ?

Thanks in advance.




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35
Default makeing the pictures visible or invisible

Thanks Don,

But that is not a shape, is a picture that I have inserted, I want to be
able to hide/unhide them base on their names,is it possible ?


"Don Guillett" wrote in message
...
this should hide/unhide all shapes on the active sheet
Sub getshapenames()
For Each sh In ActiveSheet.Shapes
sh.visible=not sh.visible
Next sh
End Sub


--
Don Guillett
SalesAid Software

"2007-User" wrote in message
...
Hi,

I have some pictures on my worksheet named object 39 and object 40 and
...
I need to know how I can make them to be visible or invisible base on a
cell's value ?

Thanks in advance.






  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35
Default makeing the pictures visible or invisible

Thanks Don,
as an example let try to make "object 39" invisible and keep the rest to be
visible.
is it possible ?


"Don Guillett" wrote in message
...
If they are the ONLY ones on the sheet, try it!!
If not, let me know how many and names of each on the sheet and the ones
you want to hide.

--
Don Guillett
SalesAid Software

"2007-User" wrote in message
...
Thanks Don,

But that is not a shape, is a picture that I have inserted, I want to be
able to hide/unhide them base on their names,is it possible ?


"Don Guillett" wrote in message
...
this should hide/unhide all shapes on the active sheet
Sub getshapenames()
For Each sh In ActiveSheet.Shapes
sh.visible=not sh.visible
Next sh
End Sub


--
Don Guillett
SalesAid Software

"2007-User" wrote in message
...
Hi,

I have some pictures on my worksheet named object 39 and object 40 and
...
I need to know how I can make them to be visible or invisible base on a
cell's value ?

Thanks in advance.












  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default makeing the pictures visible or invisible

Maybe you can look at J.E. McGimpsey's page:

http://www.mcgimpsey.com/excel/lookuppics.html

2007-User wrote:

Hi,

I have some pictures on my worksheet named object 39 and object 40 and ...
I need to know how I can make them to be visible or invisible base on a
cell's value ?

Thanks in advance.


--

Dave Peterson
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
Make a chart axis visible/invisible with VBA Jeff Reese Charts and Charting in Excel 3 April 27th 23 03:42 AM
change invisible bars back to visible hf Charts and Charting in Excel 1 July 28th 06 02:29 PM
Pictures.Visible question (after adding many pictures, they stop disappearing) Abe[_4_] Excel Programming 2 July 11th 06 05:02 AM
Fast way to make rows visible and invisible [email protected] Excel Programming 4 March 9th 06 07:17 PM
invisible text boxes becoming visible Jordan Excel Programming 1 February 26th 05 12:01 AM


All times are GMT +1. The time now is 01:33 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"