Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a worksheet which is filled with a bunch of pictures, and
depending on the layout I have there will need to be up to 500-2,000 pictures.... maybe more. There are only six 'different' pictures however, most are copies of a reference picture. I want to be able to hide all the pictures or show them depending on the value of a checkbox in a userform. Here is the code I have (chkQCAoverlay is a check box): Private Sub chkQCAoverlay_Change() On Error Resume Next Worksheets(2).Pictures.Visible = chkQCAoverlay.Value On Error GoTo 0 End Sub The 'on error' is there in case there are no pictures on the worksheet. The code works if I have a few pictures (around 30) but if I have many more, it stops hiding the pictures. Anyone know what's going on? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do you export pictures from my pictures file into a word docu | New Users to Excel | |||
pictures are disappearing from workbook, why? | Excel Worksheet Functions | |||
Excel's Compress Pictures or deleting pictures doesn't seem work | Excel Discussion (Misc queries) | |||
Pictures don't stay visible | Excel Discussion (Misc queries) | |||
McGimpsey's Disappearing Pictures | Excel Discussion (Misc queries) |