Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8346267
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T06:57:22+00:00 2026-06-09T06:57:22+00:00

I have a shape with text Now Loading… and background color #000000 alpha=0.5, as

  • 0

I have a shape with text “Now Loading…” and background color #000000 alpha=0.5, as big as FHD screen.

I was intended to show it when a time consuming function was executed by user (as you can see, load data from somewhere else and dirty works), and hide it again after vba finished its job.

But it doesn’t show at the beginning at all, only show up and hide again like a flash after vba done.

Yes I used MsgBox to check all the way, really, only show up and hide at the very end.

QUESTION:

1) So is this only happening to me?

2) If (1) not, why is this happening? Do the shape/OLE layer only refresh at the end(*1)? Tech detail would be appreciated.

3) If I insist to have this shape do its job, possible in Excel 2007? And how?

4) Alternative solutions(*3)? Just don’t tell me.

Sheets("Sheet1").Range("A1").Value = "Now Loading..."
'balabala
Sheets("Sheet1").Range("A1").Value = "Finish!"

*1) What I mean “refresh at the end” here, is, Excel collects all shape hide/show events and do at one time. So if I keep hide and show the same shape at some time consuming function, it turns out to be blink blink~

*2) Example code below. The shortest one I could share. 'Notes for you to understand what I trying to do, MsgBox to show you my checkpoint.

Sub Item_Genre_Reset_Revise()
'↓ Show the loading notification.
Sheets("Item.Genre").Shapes("OLE_Loading").Visible = True
MsgBox "I thought the shape would show now, but didn't."

'↓ Merge 3 pieces into 1 piece.
Application.ScreenUpdating = False
Sheets("Item.Genre").Range("AJ5:AL37").Value = Sheets("Item.Genre").Range("Q5:S37").Value
Sheets("Item.Genre").Range("AJ38:AL70").Value = Sheets("Item.Genre").Range("V5:X37").Value
Sheets("Item.Genre").Range("AJ71:AL103").Value = Sheets("Item.Genre").Range("AA5:AC37").Value
MsgBox "No. :("

'↓ Sort the mergerd one.
ActiveWorkbook.Worksheets("Item.Genre").Sort.SortFields.Clear
ActiveWorkbook.Worksheets("Item.Genre").Sort.SortFields.Add Key:=Range("AJ5:AJ103"), _
    SortOn:=xlSortOnValues, Order:=xlAscending, DataOption:=xlSortNormal
ActiveWorkbook.Worksheets("Item.Genre").Sort.SortFields.Add Key:=Range("AK5:AK103"), _
    SortOn:=xlSortOnValues, Order:=xlAscending, DataOption:=xlSortNormal
ActiveWorkbook.Worksheets("Item.Genre").Sort.SortFields.Add Key:=Range("AL5:AL103"), _
    SortOn:=xlSortOnValues, Order:=xlAscending, DataOption:=xlSortNormal
With ActiveWorkbook.Worksheets("Item.Genre").Sort
    .SetRange Range("AJ4:AL103")
    .Header = xlYes
    .MatchCase = False
    .Orientation = xlTopToBottom
    .SortMethod = xlPinYin
    .Apply
End With
MsgBox "No. :( :("

'↓ Reload sorted items from internal memory to 3 pieces, as to give up all revise too for another function.
Call Item_Genre_Escape_Internal
MsgBox "No. :( :( :("

'↓ Reset revise counter.
Sheets("Item.Genre").Range("T41").Value = 0
MsgBox "No. :( :( :( :("

Application.ScreenUpdating = True

'↓ Hide the loading notification.
Sheets("Item.Genre").Shapes("OLE_Loading").Visible = False
MsgBox "Now the shape flash!"
End Sub

Sub Item_Genre_Escape_Internal()
Sheets("Item.Genre").Range("Q5:T37").Value = Sheets("Item.Genre").Range("AJ5:AM37").Value
Sheets("Item.Genre").Range("V5:Y37").Value = Sheets("Item.Genre").Range("AJ38:AM70").Value
Sheets("Item.Genre").Range("AA5:AD37").Value = Sheets("Item.Genre").Range("AJ71:AM103").Value
Sheets("Item.Genre").Range("T41").Value = 0
End Sub

*3) Globe setting to every sheets.

Application.DisplayFormulaBar = False
ActiveWindow.DisplayHeadings = False
ActiveWindow.DisplayHorizontalScrollBar = False
ActiveWindow.DisplayVerticalScrollBar = False
Application.DisplayStatusBar = False
ActiveWindow.DisplayWorkbookTabs = False
Worksheets("Item.Genre").Protect Password:="******", _
    UserInterfaceOnly:=True

Thank you very much.

SOLUTION:

Add Application.Wait Now + TimeValue("00:00:01") to each Sheets("Item.Genre").Shapes("OLE_Loading").Visible = True . The shape would show as designed but still got 1~2s lag. Don’t know why.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T06:57:24+00:00Added an answer on June 9, 2026 at 6:57 am

    I edited my reply, and I believe that this is rather what you are looking for.
    Indeed, I noticed that the shape doesn’t show when you call another sub routine.
    Introducing a “wait” of 1 second solves the problem despite.

    Sub Shapes()
    
    Dim oShape              As Shape
    
    
    Application.ScreenUpdating = True
    
    Set oShape = ThisWorkbook.Sheets(1).Shapes("Oval 1")
    oShape.Visible = msoTrue
    
    Application.Wait Now + TimeValue("00:00:01")
    
    Call Other_Sub
    
    oShape.Visible = msoFalse
    
    End Sub
    
    Sub Other_Sub()
    
    Application.Wait Now + TimeValue("00:00:05")
    
    End Sub
    

    Let me know if you get the expected result.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a shape file, and I want to show it on the web
I have a text box and it is in square form now I want
I have a shape in Visio which is a group. The group shape can
I have a Shape class containing potentially many vertices, and I was contemplating making
I have this: shape = (2, 4) # arbitrary, could be 3 dimensions such
I have two questions about java.awt.Shape . Suppose I have two Shape s, shape1
Lets say I have an irregular shape in png format.As you know this shape
Here is a problem I am trying to solve: I have an irregular shape.
I have created a basic shape in HTML canvas element which works fine. The
I have an array 'A' of shape(50,3) and another array 'B' of shape (1,3).

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.