Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How to import multiple image files into spreadsheet


Need assistance. I have the file paths. need to import up to 15 photo
saved as jpegs. if i could get them to be a certain size, that would b
a good bonus. Could i use:

object.Picture = LoadPicture( pathname )

?

I'm still kinda new...

Thanks,

Richar

--
wraithlea
-----------------------------------------------------------------------
wraithlead's Profile: http://www.excelforum.com/member.php...fo&userid=1157
View this thread: http://www.excelforum.com/showthread.php?threadid=26859

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default How to import multiple image files into spreadsheet

Richard,

Got this via the macro recorder and a bit of tweaking

ActiveSheet.Pictures.Insert( _
"C:\Documents and Settings\Bob\My Documents\My
Pictures\classic_beetle.jpg"). _
Select
With Selection.ShapeRange
.ScaleWidth 0.76, msoFalse, msoScaleFromTopLeft
.ScaleHeight 0.77, msoFalse, msoScaleFromTopLeft
.Left = ActiveSheet.Columns("B").Left
.Top = ActiveSheet.Rows(3).Top
End With


--

HTH

RP

"wraithlead" wrote in message
...

Need assistance. I have the file paths. need to import up to 15 photos
saved as jpegs. if i could get them to be a certain size, that would be
a good bonus. Could i use:

object.Picture = LoadPicture( pathname )

?

I'm still kinda new...

Thanks,

Richard


--
wraithlead
------------------------------------------------------------------------
wraithlead's Profile:

http://www.excelforum.com/member.php...o&userid=11578
View this thread: http://www.excelforum.com/showthread...hreadid=268598



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
inserting image and document files into the spreadsheet Cornpone Excel Discussion (Misc queries) 7 January 30th 06 12:50 PM
Import data files larger than one spreadsheet maximum? Bobby Joe Mo Excel Discussion (Misc queries) 1 July 20th 05 10:05 PM
Need to import multiple files with a macro HatTrick Excel Programming 0 August 5th 04 03:57 PM
Multiple txt files import Arnie[_4_] Excel Programming 4 June 9th 04 12:38 AM
Import multiple files macro can't find files Steven Rosenberg Excel Programming 1 August 7th 03 01:47 AM


All times are GMT +1. The time now is 06:57 PM.

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"