Force IMAGE To Connect

Davey54

New Member
Joined
Mar 13, 2024
Messages
2
Office Version
  1. 365
Platform
  1. Windows
Folks, I am coming here for the first time because over the years I have seen some excellent advice here for Excel.

I am exporting from MS-Access to Excel a long list of rows, each with a working URL to a website which contains image data. Inside Excel the corresponding cell simply shows the IMAGE function and the URL string. It is not until I click to enter the cell and hit the Enter Key or hit F2 that cell will update and show the actual image instead of the URL string.

Obviously, there is a program function inside Excel which must be triggered to force this update. Any ideas of how I might do that programmatically?

Please note that I have dealt with the security issues and the validity of the URL, as simply entering the cell manually and hitting Enter forces an update and the image actually shows.

If you are going to recommend a "Send Keys" macro, then you probably need to test it yourself, because that does not do it either.
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
Hi,

My excel 2016 doesn't have the IMAGE function so I can't test but since it is a function, you could press F9 (or Ctrl+Alt+ F9) to force a worksheet calculation.
If that works and you want to be able to automate the forced calculation after importing the data from Access. then that will depend on the way you are importing the data.
 
Upvote 0
You could also try a replace operation on the relevant range like:

Code:
Range("B2:B100").Replace "=", "=", xlpart
 
Upvote 0
Solution
I thank you both very much for your responses. I knew if I came here I could find good advice.

The Recalc idea I tried already, and it does not work.

On the other hand, the Range/Replace idea is a WINNER! It WORKS!

Thank you both so very much!
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,289
Members
452,631
Latest member
a_potato

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top