+ Reply to Thread
Results 1 to 7 of 7

VBA code to show the start screen when this application starts

  1. #1
    Registered User
    Join Date
    09-20-2012
    Location
    Peoria, Arizona
    MS-Off Ver
    Excel 2013
    Posts
    39

    VBA code to show the start screen when this application starts

    Good Morning Folks,

    I am drawing a complete blank here and I am hoping you can help me out. I have a startup macro for my worksheet that does all the nifty and neat things I need it to with the exception of setting the "show the start screen when this application starts" checkbox in General Options (screen shot included). I am drawing a blank on what to label it. Application.--------- = False. What is this called? Any ideas? Any help would be appreciated. Thanks

    Untitled.png

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: VBA code to show the start screen when this application starts

    That option is used to display or not display the standard Excel (or other Office application) startup screen.

    Are you trying to disable the startup screen so the user sees your own 'startup'?
    If posting code please use code tags, see here.

  3. #3
    Registered User
    Join Date
    09-20-2012
    Location
    Peoria, Arizona
    MS-Off Ver
    Excel 2013
    Posts
    39

    Re: VBA code to show the start screen when this application starts

    Exactly, I need the VBA code to ensure it is shut off when the workbook is open. The reason why is that the macro sets the workbook at "ignore remote requests", hides the workbook and opens a userform. If someone opens a new Excel worksheet while this is open, it crashes the userform and shuts down Excel. Since there are multiple users, the best way to ensure that does not happen is to include a command to uncheck this setting on activation. Therefore, I am looking for a code to uncheck this box to include in my startup macro. Make sense?

  4. #4
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: VBA code to show the start screen when this application starts

    I don't think you can use code to suppress the default splash screen, the only way I can find to do it without going to Options is to use command line switches.

    For example.
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    09-20-2012
    Location
    Peoria, Arizona
    MS-Off Ver
    Excel 2013
    Posts
    39

    Re: VBA code to show the start screen when this application starts

    Oh, I can see the confusion. No, you can't suppress the default splash screen for the program as it is being opened. I wanted to have the macro set the preference for any new workbooks being opened after this one is already open. I guess my statement of using it in the startup macro was confusing. Sorry about that. Look at it this way, I have a userform with a button. The program is already open and I just want to set the preference. If I wanted that button to turn off the start screen on startup, what code would I need? Should have kept it simple to begin with. Again I apologize.

  6. #6
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: VBA code to show the start screen when this application starts

    I don't follow, if you originally open your workbook, and Excel obviously, you will get the default startup/splash screen.

    For any subsequent workbooks opened in the same instance of Excel you won't get the startup/splash screen.

    If you mean you want to programattically set the option to not show the Excel startup/splash screen then as far as I know it's not possible.

    All I can find is workarounds involving things like setting command line switches for shortcuts or opening, and hiding, Excel and the workbook using VBS.

  7. #7
    Registered User
    Join Date
    09-20-2012
    Location
    Peoria, Arizona
    MS-Off Ver
    Excel 2013
    Posts
    39

    Re: VBA code to show the start screen when this application starts

    How would one go about setting a command line switch? I am unfamiliar with these. Thanks

+ 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: 6
    Last Post: 08-18-2015, 06:39 AM
  2. Screen Updating starts before asked to do so in procedure
    By Skygazer... in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-04-2015, 10:14 AM
  3. [SOLVED] Looking to skip cells that are blank and start picking up data where it starts???
    By greenfox74 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-10-2013, 02:29 AM
  4. [SOLVED] Show the first digit of a citys population,when city starts from Δ.Δ or Κ.Δ
    By Dinos.fa in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 05-15-2013, 02:26 PM
  5. How to start excel file after windows XP starts?
    By toplisek in forum Excel General
    Replies: 2
    Last Post: 03-17-2010, 07:04 AM
  6. Show Inputbox characters as starts
    By LoveCandle in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-07-2009, 03:45 AM
  7. How to make a start up/ welcome screen?
    By abrunstad in forum Excel General
    Replies: 1
    Last Post: 03-02-2009, 05:55 PM

Tags for this Thread

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