+ Reply to Thread
Results 1 to 5 of 5

Hide startup.xls

  1. #1
    Registered User
    Join Date
    02-05-2016
    Location
    Amsterdam, Holland
    MS-Off Ver
    MS Office 2013
    Posts
    5

    Question Hide startup.xls

    Hello,

    So the situation is this:

    We have a *companyname* startup.xls file stored on the network that is being copied to all users when they are logging on to their machines.
    In this file we have all macro's present that are used by the company.

    Now when people open a excel file it automatically opens this workbook as well. So you have the startup.xls open and the file the users
    want to use.

    I want to hide this startup.xls excel instance. Tried it with a simple Macro code:

    Sub HideStartup()
    Windows("******* Startup.xls").Visible = False
    End Sub

    but this did not work.

    Any help greatly appreciated!!
    Attached Images Attached Images

  2. #2
    Forum Contributor
    Join Date
    12-05-2015
    Location
    Akron, OH
    MS-Off Ver
    15.0
    Posts
    424

    Re: Hide startup.xls

    Try including the ActiveWindow.Visible = False line right after the workbook is opened.

    Please Login or Register  to view this content.
    Although, I would assume Startup.xls contains a few macros and has a .xlsm extension.

    You can also save Startup.xls/Startup.xlsm in a hidden state by (with Startup.xls/Startup.xlsm open within Excel) navigating to Window>Hide and hide it. Then shut down Excel. When prompted whether or not you want to save changes to Startup.xls/Startup.xlsm, click Save. Then, if you open it up, it will open up hidden (so you won't see it).

    Also, be sure to surround your code with code tags like I did because it is required per the Forum rules. We are asked not to respond to posts such as yours until they comply with all forum rules, but I didn't catch that and cannot delete my post. You do that by writing: "["Code"]" before any code is written (without the quotes); and just after the last line of code, you write: "["/Code"]" (again, without the quotes).
    Last edited by joe31623; 02-05-2016 at 12:35 PM.
    <---If my answer helped, please click *

  3. #3
    Registered User
    Join Date
    02-05-2016
    Location
    Amsterdam, Holland
    MS-Off Ver
    MS Office 2013
    Posts
    5

    Re: Hide startup.xls

    Thanks for the tip, i will try and post the result here.

    Ok, i did not know that. Will do in the future.

  4. #4
    Registered User
    Join Date
    02-05-2016
    Location
    Amsterdam, Holland
    MS-Off Ver
    MS Office 2013
    Posts
    5

    Re: Hide startup.xls

    Unfortunate i get this message:
    example2.jpg
    I create it as a new macro...
    Sorry i am not (yet) familiar with macros...
    Last edited by Meadin; 02-08-2016 at 04:15 AM.

  5. #5
    Registered User
    Join Date
    02-05-2016
    Location
    Amsterdam, Holland
    MS-Off Ver
    MS Office 2013
    Posts
    5

    Re: Hide startup.xls

    Anyone know?

+ 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. I'm trying to hide my worksheet but have a userform show at startup
    By simeonmein in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-18-2013, 03:29 PM
  2. startup
    By skimpw in forum Excel General
    Replies: 1
    Last Post: 10-23-2006, 07:58 PM
  3. [SOLVED] Startup
    By BillCPA in forum Excel General
    Replies: 2
    Last Post: 05-30-2006, 04:25 PM
  4. Hide Enable/Disable Startup
    By Zurn in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-21-2006, 12:45 PM
  5. [SOLVED] startup
    By Walid M. Bahgat in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-25-2005, 01:05 AM
  6. Hide worksheets at startup
    By Sandy in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-15-2005, 04:05 PM
  7. [SOLVED] STARTUP
    By Glenn in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-25-2005, 08:11 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