Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Switch images in VBA

Hi all,

Anybody knows how to display an image in a cell in Excel and swtich it
with other images given a integer parameter?
Any suggestion is much appreciated.

Thanks!


---
Message posted from http://www.ExcelForum.com/

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Switch images in VBA

Range("B9").Select
ActiveSheet.Pictures.Insert("C:\WINDOWS\HLPBELL.GI F")

will insert a picture. You can insert two pictures, then make one hidden.

Alternate back and forth using the calculate event or change event depending
on how the integer is changed.

--
Regards,
Tom Ogilvy


AnQi wrote in message
...
Hi all,

Anybody knows how to display an image in a cell in Excel and swtich it
with other images given a integer parameter?
Any suggestion is much appreciated.

Thanks!


---
Message posted from http://www.ExcelForum.com/



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
Images and Links justlearnin Excel Discussion (Misc queries) 0 November 6th 08 07:36 PM
Linking images coultersc Excel Worksheet Functions 0 August 21st 08 02:35 AM
Chart.Export images are shrinking as I export more images Jared Charts and Charting in Excel 3 January 29th 08 03:23 AM
Images do not load Jill Excel Discussion (Misc queries) 1 September 14th 05 05:51 PM
Exporting images Bert[_3_] Excel Programming 1 December 13th 03 01:46 PM


All times are GMT +1. The time now is 12:24 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"