+ Reply to Thread
Results 1 to 2 of 2

Refreshing links to images excel vba

  1. #1
    Registered User
    Join Date
    07-25-2017
    Location
    England
    MS-Off Ver
    2013
    Posts
    86

    Refreshing links to images excel vba

    Hi,
    I am using the following code to insert images into my excel sheet. The code works fine for inserting the images, but every now and then excel will say "This image cannot currently be displayed". Sometimes this is because we have moved the file to a shared folder and it has lost track of the images, but other times it just does it randomly. For example, this morning I had 1/33 of the images say it cannot be displayed, but I had not even moved it. I simply pressed delete and then undo and it came back, so I guess it is failing to refresh the links to the images at times, and on deletion and undoing it somehow refreshed the link maybe? I was wondering if anyone could suggest a way to refresh all links to images to avoid these two problems from happening, thanks.


    Please Login or Register  to view this content.
    Last edited by georgedixon; 07-10-2019 at 04:47 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2507 (Windows 11 Home 24H2 64-bit)
    Posts
    91,887

    Re: Refreshing links to images excel vba

    Administrative Note:

    We would very much like to help you with your query, however you need to include code tags around your code.

    Please take a moment to add the tags. Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, and it also maintains VBA formatting.

    Please see Forum Rule #2 about code tags and adjust accordingly. Click on Edit to open your post, then highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here

    (Note: this change is not optional. No help to be offered until this moderation request has been fulfilled.)
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Automatically populating images under their links in Excel
    By Del2019 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-05-2019, 03:46 PM
  2. Replies: 0
    Last Post: 04-01-2017, 10:02 PM
  3. Images links to excel
    By Antwnhs in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-11-2014, 08:06 AM
  4. Bloomberg links not refreshing in VBA code
    By cog38 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-20-2013, 11:13 AM
  5. Macro for inserting images not refreshing
    By data_encoder in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 11-11-2010, 02:14 AM
  6. Opening Excel workbook without refreshing RTD-links
    By billiboy in forum Excel General
    Replies: 5
    Last Post: 09-11-2009, 10:04 AM
  7. Refreshing links from different workbooks
    By garfield185 in forum Excel General
    Replies: 0
    Last Post: 09-16-2008, 05:01 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1