Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default use macro to hide or show bitmap image

Hi John,

Try something like:


Private Sub CommandButton1_Click()
With ActiveSheet.Shapes("Picture 1") '<<===== CHANGE
.Visible = Not .Visible
End With
End Sub

The button will toggle the display of the bitmap,

---
Regards,
Norman



"John Davies" wrote in message
...
I have scanned my signature and saved it as a bitmap image that I would
like
to use in an Excel spreadsheet. However I do not want the signature to be
visible all the time. Is it possible to assign the bitmap to a macro
button
that will change the colour of the bitmap to the background colour of the
sheet to make it invisible and vice versa.



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
enter bitmap image pixel data to cells Larry Shindel, MA, REEGT New Users to Excel 0 January 9th 09 03:06 AM
Bitmap data of Image controls & Picture objects... MDB[_2_] Excel Programming 0 November 5th 04 08:30 PM
Bitmap data of Image controls & Picture objects... MDB Excel Programming 1 November 4th 04 06:35 AM
How to insert a bitmap image into a Excel Cell? Sundarraj Natarajan[_2_] Excel Programming 0 July 29th 04 04:23 PM
loading a bitmap into an image control from the clipboard Loane Sharp Excel Programming 4 February 29th 04 01:49 PM


All times are GMT +1. The time now is 11:48 PM.

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"