agatonsaxx
New Member
- Joined
- May 29, 2014
- Messages
- 34
Hi, i have a question regarding show/hide an image in a specific cell using VBA. I have the following "code" and i just want the image to be visible and shown in Cell C11, and when i click another button i would like it to be hidden. But in this case, it shows the picture in the centre of the excel document instead of in a specific cell.
Here is the code:
Sub Show_Logotyp_SMAL()
ActiveSheet.Shapes("Picture 19").Visible = True
End Sub
Sub Hide_Logotyp_SMAL()
ActiveSheet.Shapes("Picture 19").Visible = False
End Sub
Anyone know how to do this in an easy way?
Thanks a lot,
Best regards
AgatonSaxx
Here is the code:
Sub Show_Logotyp_SMAL()
ActiveSheet.Shapes("Picture 19").Visible = True
End Sub
Sub Hide_Logotyp_SMAL()
ActiveSheet.Shapes("Picture 19").Visible = False
End Sub
Anyone know how to do this in an easy way?
Thanks a lot,
Best regards
AgatonSaxx