Results 1 to 4 of 4

LOGIN Enabled Workbook - Problems Closing one of the sheets

Threaded View

  1. #1
    Forum Contributor sorensjp's Avatar
    Join Date
    12-23-2015
    Location
    Yokosuka, JP
    MS-Off Ver
    2016, 2019, 365
    Posts
    198

    LOGIN Enabled Workbook - Problems Closing one of the sheets

    Hello,

    I'm trying to close a workbook and using Macros to Loop thru each worksheet to set as xlSheetVeryHidden with the exception of the LOGIN Sheet.

    The attached workbook is an .xlsb (recommend changing to.xlsm) file to reduce size. The MACRO operates properly if I'm on the LOGIN sheet (Normally Hidden after logging in). But when I'm on any other sheet and close the workbook I get a Run-time error '1004: Method 'Visible' of object'_Worksheet' failed.

    User Name & Password are either:
    USER -------- Pword
    admin ------- Cville62!!
    sorensjp -------- 515457

    I cannot understand why every sheet closes properly but Sheet 9 (WEAPS_QUAL_RPT).

    Thank you for taking the time to look at this issue and appreciate any advice.

    V/r,
    Jim
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Need help in login vba code to unhide specific sheets depends on login info
    By AlaaEddin95 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-12-2019, 08:19 PM
  2. Creating new workbook, saving as csv and then closing - but closing always fails.
    By ella626 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-28-2014, 10:05 PM
  3. [SOLVED] Macro to Saving Workbook Sheets as Separate Macro-Enabled Workbooks
    By puppetpalace in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-03-2013, 01:58 PM
  4. lock and hide particular sheets automatically after closing workbook
    By jeevan123 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 12-26-2012, 06:53 AM
  5. macro enabled workbook problems
    By devonkay in forum Excel General
    Replies: 1
    Last Post: 03-30-2009, 11:28 PM
  6. closing a workbook without saving and closing a workbook with saving enabled
    By stanigator in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-24-2007, 02:15 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