LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #6   Report Post  
Posted to microsoft.public.excel.programming
Rob Rob is offline
external usenet poster
 
Posts: 718
Default Importing a web page into Excel (picture)

Randy,

This is great information! Thank you.

Rob

"Randy Harmelink" wrote:

What I've played with in the past with my add-in (
http://finance.groups.yahoo.com/group/smf_addin/ ) is three different
approaches to attempt to automate it:

1. Have a function place the image as a "background" for a comment.
2. Insert the image but make it "exandable" to full size and
"collapsible" into the size of the cell by clicking on it
3. Using a worksheet "change" event to insert images wherever a string
of "Image: http://....." is found

For example, the simplest version of #1 would be this function
invocation:

=RCHCreateComment("http://chart.finance.yahoo.com/c/1y/f/ffiv",99)

The biggest problem with #1 is that EXCEL only allows the URL to be
less than 100 bytes long. I've had to come up with PHP workarounds
for images with longer URLs that I've wanted to use. The "99" above
indicates a "free-form" URL is being entered. If you wanted one of
the preprogrammed ones, say a chart from StockCharts, you could just
do something like:

=RCHCreateComment("MMM",1)

....where "MMM" is the ticker symbol and "1" is the choice for the
StockCharts chart.

For #2, I would simply put the URL into a worksheet cell, then run
macro RCHTogglePicture of the add-in.

The add-in is open source, so you can review how the code works. It's
in the files area of the Yahoo group, as is documentation on most of
its functions.

On Jul 9, 2:16 pm, Rob wrote:

I am wondering if it is possible to pull a web picture into excel into a
specific cell?

For example, can I make the image that appears hehttp://chart.finance.yahoo.com/c/1y/f/ffivappear in excel in
a specific cell?

I would have other data next to this picture so row 1 might have 10 other
columns and then the 11th column would be this picture.



 
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
Importing a picture behind worksheet? simonc Excel Discussion (Misc queries) 5 March 15th 10 04:49 PM
importing a web page to excel hetal patel Excel Discussion (Misc queries) 0 September 9th 09 11:39 PM
Picture in Excel Web Page RichD Excel Discussion (Misc queries) 0 April 19th 08 12:54 AM
Importing Web Page with Hyperlinks into Excel feltra Excel Discussion (Misc queries) 10 August 8th 07 01:17 AM
How to keep a picture in Excel 97 page footer/header? Umesh[_3_] Excel Programming 6 October 12th 04 02:36 AM


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