+ Reply to Thread
Results 1 to 2 of 2

Worksheet appears briefly when workbook hidden

Hybrid View

  1. #1
    Registered User
    Join Date
    04-29-2014
    Location
    United Kingdom
    MS-Off Ver
    Excel 2007
    Posts
    11

    Worksheet appears briefly when workbook hidden

    Hi!

    My program opens with a userform for input and I have set the workbook visible equal to false. It works but on opening the worksheet briefly appears. Looks amateurish. Could someone please check my code and advise? I have tried putting 'Application.Visible = False' and 'FrmCompData.Show' first but without success.

    Thanks in anticipation.

    Bushopper

    My code is:

    Private Sub Workbook_Open()

    Application.ScreenUpdating = False
    Application.Visible = False
    frmCompData.Show

    End Sub

  2. #2
    Forum Expert JasperD's Avatar
    Join Date
    05-07-2013
    Location
    Netherlands
    MS-Off Ver
    Excel 2016
    Posts
    1,393

    Re: Worksheet appears briefly when workbook hidden

    It will never be entirely hidden - if the user doesn't automatically allow macros, it will stay visible until (s)he clicks "enable macros".
    It's best to open the workbook with just a 'splash screen' visible until the user allows macros.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 14
    Last Post: 05-12-2014, 02:44 PM
  2. [SOLVED] Listbox items display briefly, then disappear?
    By Aland2929 in forum Excel Programming / VBA / Macros
    Replies: 21
    Last Post: 07-30-2013, 06:35 AM
  3. How to copy a hidden sheet in a workbook and paste it into a new worksheet and renaming it
    By kvs.somashekhar in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-27-2012, 08:20 AM
  4. [SOVLED] Find the order of a worksheet as it appears in the workbook?
    By PingPing in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-01-2010, 05:05 AM
  5. Replies: 3
    Last Post: 04-02-2008, 09:21 PM

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