Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 454
Default Pop up Box that displays files sheets Q

I picked up the code below from the archives which shows a neat pop-up
box that shows the visible sheets in my file and I can select which
one I want to navigate to. Is it possible to specifically exclude from
this list a named file? I need the file to be visible, so can't hide
it

Sub SelectEmployee()
On Error Resume Next
If ActiveWorkbook.Sheets.Count <= 16 Then
Application.CommandBars("Workbook Tabs").ShowPopup 500, 225
Else
Application.CommandBars("Workbook Tabs").Controls("More
Sheets...").Execute
End If
On Error GoTo 0
End Sub
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 206
Default Pop up Box that displays files sheets Q

On Dec 2, 1:09 am, Sean wrote:
I picked up the code below from the archives which shows a neat pop-up
box that shows the visible sheets in my file and I can select which
one I want to navigate to. Is it possible to specifically exclude from
this list a named file? I need the file to be visible, so can't hide
it

Sub SelectEmployee()
On Error Resume Next
If ActiveWorkbook.Sheets.Count <= 16 Then
Application.CommandBars("Workbook Tabs").ShowPopup 500, 225
Else
Application.CommandBars("Workbook Tabs").Controls("More
Sheets...").Execute
End If
On Error GoTo 0
End Sub


this is the same as right clicking on the nav tabs(Arrows beside the
sheet tabs), that shows only visible sheet tabs, I would say no, of
course there are other codes that can do what you ask, but maybe the
real question is, why do you need to have a specific sheet visible, I
am assuming it is for vba reasons,with a select method
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
inserted comment not displays in the cell it displays on top row S.Kumar Excel Worksheet Functions 1 September 22nd 09 07:32 PM
Project Gallery displays only obsolete files ricardo33 Excel Discussion (Misc queries) 1 August 16th 09 07:24 AM
How do you merge the sheets in two files? Kim Excel Discussion (Misc queries) 2 October 28th 06 01:39 PM
Formula window displays correct answer while cell displays incorre MMV Excel Worksheet Functions 3 November 10th 04 09:28 PM
Allocate Files to Sheets and Build a Master Sheet which Summarises All Sheets hanuman Excel Programming 0 September 9th 03 11:23 AM


All times are GMT +1. The time now is 01:05 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"