+ Reply to Thread
Results 1 to 2 of 2

excel hide and visible problem

Hybrid View

  1. #1
    Pierre via OfficeKB.com
    Guest

    excel hide and visible problem

    Hi experts,

    my application hides excel completely and is run through a userform.

    if an error occurs, my userform is shut down and excel is not visible anymore.

    I'am looking foor a piece of code that i can give the user.

    the user should then be able to double klick this piece of code on his
    desktop to show the hidden instance of excel again.

    does anybody have this piece of code?
    Thanks,
    Pierre


    --
    Message posted via OfficeKB.com
    http://www.officekb.com/Uwe/Forums.a...mming/200511/1

  2. #2
    Bob Phillips
    Guest

    Re: excel hide and visible problem

    Sub ExcelVisible()
    Dim oXL As Object

    On Error Resume Next
    Set oXL = GetObject(, "Excel.Application")
    If Not oXL Is Nothing Then
    oXL.Visible = True
    Set oXL = Nothing
    End If
    On Error GoTo 0
    End Sub


    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "Pierre via OfficeKB.com" <u13950@uwe> wrote in message
    news:5700d3b6b2a90@uwe...
    > Hi experts,
    >
    > my application hides excel completely and is run through a userform.
    >
    > if an error occurs, my userform is shut down and excel is not visible

    anymore.
    >
    > I'am looking foor a piece of code that i can give the user.
    >
    > the user should then be able to double klick this piece of code on his
    > desktop to show the hidden instance of excel again.
    >
    > does anybody have this piece of code?
    > Thanks,
    > Pierre
    >
    >
    > --
    > Message posted via OfficeKB.com
    > http://www.officekb.com/Uwe/Forums.a...mming/200511/1




+ 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