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 7847263
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T17:50:27+00:00 2026-06-02T17:50:27+00:00

I have an Excel VBA method (I didn’t write it) that runs and one

  • 0

I have an Excel VBA method (I didn’t write it) that runs and one of the first things it does is hide the Excel session Application.Visible = False.

However, when the method has finished, it does not unhide the Excel session so it remains open and listed in the Task Manager but is hidden and seemingly unusable.

Does anyone know, without have the VBE open (so one can access the Immediate Window and run Application.Visible = True), how to unhide this Excel session? At the moment, I’m simply having to kill the session using the Task Manager.

This isn’t a massive deal but I’m just interested if anyone knows how to resurrect such a session.

  • 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-02T17:50:30+00:00Added an answer on June 2, 2026 at 5:50 pm

    Like I said, it’s not a big deal but was just interested if anyone knew of shortcut key or anything to bring it back.

    There is no shortcut as such that I am aware of but you can do this.

    Open MS Word and paste this code in the VBA Editor. Close all open instances of Excel which are visible and then run and this code. This will make a hidden instance visible. Manually close the instance and repeat the process if there are more instances.

    Option Explicit
    
    Sub Sample()
        Dim oXLApp As Object
    
        '~~> Get an existing instance of an EXCEL application object
        On Error Resume Next
        Set oXLApp = GetObject(, "Excel.Application")
        On Error GoTo 0
    
        oXLApp.Visible = True
    
        Set oXLApp = Nothing
    End Sub
    

    I am not deliberately using a loop as the hidden instance can have a workbook which you might like to save?

    If you want you can convert the above code to a VB Script document which you can directly run from the desktop.

    Unfortunately, I don’t have the control to make the changes required.

    What do you exactly mean? Is the VBA Password Protected? If no then my suggestion is still the same as earlier

    This is a case of poor programming. Even if we give a code to close
    all hidden Excel instances, that won’t help you. Because next time you
    run that macro, you will face the same problem again. Why not edit the
    existing code and add Application.Visible = True at the end? Is the
    VBA password protected? – Siddharth Rout 28 mins ago

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

Sidebar

Related Questions

I have a VBA script that inserts long strings into Excel cells. In some
I have written a VBA macro in an excel spreadsheet that opens all workbooks
I have an EXCEL VBA function which should return the address of the first
In Excel VBA (2003), I've noticed that any Public or Friend Sub method in
I am very new to Excel and vba. I have an excel file that
I have an excel file with VBA macro that starts when the Workbook is
I have trouble comparing 2 double in Excel VBA suppose that I have the
I have an Excel VBA Script I've written with help, I am not a
I'm using Excel VBA and have a worksheet_change event like so: Private Sub Worksheet_Change(ByVal
I have writen some code in VBA (Excel) with error handling labels. It worked

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.