×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

How to refresh embedded items on an Excel 2013 worksheet?

How to refresh embedded items on an Excel 2013 worksheet?

How to refresh embedded items on an Excel 2013 worksheet?

(OP)
Hello,

I've embedded a shape (or icon) in on a spreadsheet by a macro. But the icon won't show the image of the item until the book is saved and reopened. What's the refresh statements to make it present itself right after the embedding is done?

Thanks in advance.

RE: How to refresh embedded items on an Excel 2013 worksheet?

Hmm, this one sounds interesting to me. I normally think of refresh as in refreshing data and/or links (more data). This sounds more like a screen refresh than data refresh.

One total idea/guess that comes to mind is to attempt to toggle ScreenUpdating off and back on:

CODE

Application.ScreenUpdating = False
Application.Wait (Now + TimeValue("0:00:01"))
Application.ScreenUpdating = True 

If that works, it'll cost a second in the waiting portion, but it's worth a shot.

There's also the ScreenRefresh command that's mentioned by Microsoft (never tried, myself):
https://docs.microsoft.com/en-us/previous-versions...)

This line specifically from their example:

CODE

Application.ScreenRefresh 

It may be you can simply add that one line of code to your file within the code for adding the image.

"But thanks be to God, which giveth us the victory through our Lord Jesus Christ." 1 Corinthians 15:57

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close