+ Reply to Thread
Results 1 to 5 of 5

Hidden Excel

  1. #1
    Registered User
    Join Date
    03-13-2008
    Posts
    11

    Hidden Excel

    Need a bit of help here i created a macro to hide excel when a button is clicked. Unfortunetly i have hidden excel and then closed the userform which has the button on it to unhide excel. Does anyone know a way of getting excel to reappear.

  2. #2
    Valued Forum Contributor Macdave_19's Avatar
    Join Date
    03-14-2007
    Location
    Birmingham, England
    MS-Off Ver
    12.0
    Posts
    808

    Question

    What do you mean you've hidden excel? you mean the entire window (as in its not even in the task bar?).

    and secondly why???
    Mr MaGoo
    Magoo.Inc MMVII

    If i've helped please add to my Rep by Clicking on the Blue Scales in the top right hand corner of the post

  3. #3
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    Quote Originally Posted by ro55co
    Need a bit of help here i created a macro to hide excel when a button is clicked. Unfortunetly i have hidden excel and then closed the userform which has the button on it to unhide excel. Does anyone know a way of getting excel to reappear.
    I take it you have used Application.Hide.

    This sort of event is exactly why I would advise people not to do such things, along with changing users' settings. I think you will need to abandon that instance of Excel by using Ctrl+Alt+Delete.

    Just consider what would happen if your program did this to the end user, maybe even your boss!
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  4. #4
    Registered User
    Join Date
    03-13-2008
    Posts
    11

    Fixed it

    Hey i managed to fix it just by openning another saved excel file and it used the same instance of excel making it visible again (maybe should have tryed that first). Its ok ma boss just laughed at me

  5. #5
    Registered User
    Join Date
    09-21-2007
    Posts
    4
    Hi!

    Another approach would probably be to use Ctrl+Break to stop the macro, and then goto to the VBA editor (Alt+F11), open the immediate window (Ctrl+G) and type "application.hide = false"

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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