Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default Adding Picture to Excel Spreadsheet Programatically - Using VB 6

How can we insert picture in EXCEL worksheet using Visual Basic 6? I am able
to enter values in the cells. now I want to insert a picture inside
worksheet. kindly help,
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 29
Default Adding Picture to Excel Spreadsheet Programatically - Using VB 6

Hello,

Sub InsertPicture()
ActiveSheet.Pictures.Insert( _
"C:\Documents and Settings\Hervé Hanuise\My Documents\My
Pictures\!chimneysanta.gif" _
).Select
End Sub

where the fully pathed image file is :
"C:\Documents and Settings\Hervé Hanuise\My Documents\My
Pictures\!chimneysanta.gif"

Hope this helps

--
Herve Hanuise
http://www.affordsol.be


"Tushar" wrote:

How can we insert picture in EXCEL worksheet using Visual Basic 6? I am able
to enter values in the cells. now I want to insert a picture inside
worksheet. kindly help,

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
Adding Picture to Locked Spreadsheet The Merg Excel Discussion (Misc queries) 0 May 20th 08 09:52 PM
Programatically access Excel 2003 spreadsheet Edward Diener Excel Programming 3 August 8th 06 03:28 PM
Programatically changing picture in UserForm - VBA - Mac OSX dirk Excel Programming 2 May 14th 04 12:40 PM
Programatically saving XML file as Excel spreadsheet ANN Excel Programming 0 April 22nd 04 09:55 PM
Programatically adding worksheets to a spreadsheet Scott Lyon Excel Programming 4 August 8th 03 02:54 PM


All times are GMT +1. The time now is 06:30 AM.

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

About Us

"It's about Microsoft Excel"