+ Reply to Thread
Results 1 to 5 of 5

Loop all visible sheet not selecting last sheet

  1. #1
    Forum Contributor
    Join Date
    09-25-2009
    Location
    Indiana
    MS-Off Ver
    Excel 2003
    Posts
    152

    Loop all visible sheet not selecting last sheet

    I'm using the code below to select all visible sheets, but it's not working on the last sheet.
    Any suggestions would be appreciated. Thanks!
    Please Login or Register  to view this content.

  2. #2
    Forum Expert mike7952's Avatar
    Join Date
    12-17-2011
    Location
    Florida
    MS-Off Ver
    Excel 2007, Excel 2016
    Posts
    3,519

    Re: Loop all visible sheet not selecting last sheet

    Is the worksheet Visible?
    Thanks,
    Mike

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved.

  3. #3
    Forum Contributor
    Join Date
    09-25-2009
    Location
    Indiana
    MS-Off Ver
    Excel 2003
    Posts
    152

    Re: Loop all visible sheet not selecting last sheet

    Yes the sheet is visible. If I add another sheet, it will work. I just don't want the extra sheet and don't understand why it is not working...
    Thanks
    Last edited by Hood; 12-10-2017 at 02:37 PM.

  4. #4
    Forum Expert mike7952's Avatar
    Join Date
    12-17-2011
    Location
    Florida
    MS-Off Ver
    Excel 2007, Excel 2016
    Posts
    3,519

    Re: Loop all visible sheet not selecting last sheet

    Can you upload the workbook?

  5. #5
    Forum Contributor
    Join Date
    09-25-2009
    Location
    Indiana
    MS-Off Ver
    Excel 2003
    Posts
    152

    Re: Loop all visible sheet not selecting last sheet

    Unfortunately, I can not

+ 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. Macro copy from one sheet and paste values in NEXT VISIBLE SHEET & then ACTIVATE IT.
    By acsishere in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-10-2017, 04:54 AM
  2. vba to copy a picture from a hidden sheet and paste in visible sheet?
    By thecdnmole in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 03-30-2015, 10:21 AM
  3. Replies: 4
    Last Post: 01-06-2014, 02:14 AM
  4. [SOLVED] Copy range from one sheet and paste in another sheet on the next visible row after header
    By MaQian in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-22-2013, 10:48 AM
  5. Copying All the visible Rows in the current sheet and pasting it to another sheet
    By vickyyar in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-18-2012, 08:46 AM
  6. Template issue. Insert ComboBox.value in sheet if sheet is visible
    By timtim89 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-05-2012, 05:22 PM
  7. need some help with selecting a sheet in a loop again
    By Gary Keramidas in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-07-2005, 05:05 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