Solved

VBA and Excel Sheet Tabs

Posted on 2012-04-13
6
220 Views
Last Modified: 2012-06-22
I have a huge spreadsheet that has a ton of sheet tabs.  Has anyone written a userform that would place all these sheet tabs in numeric order, so I could begin typing the first few numbers of the sheet tab and it would sort the list down as I get to the forth or fifth character it would be there to select?

Of course after selecting it, it would goto that sheet and home the cursor to A1?  I have seen these before but did not have a use.. go figure now I have a need.

Please advise and thanks. -R-
0
Comment
Question by:RWayneH
  • 3
  • 2
6 Comments
 
LVL 18

Accepted Solution

by:
krishnakrkc earned 250 total points
ID: 37842071
Hi,

PFA.

Kris
GotoSheet.xlsm
0
 
LVL 33

Assisted Solution

by:Norie
Norie earned 250 total points
ID: 37842769
You don't need to sort the sheets you can just list the sheets in a combobox and type the name.

As you type you'll see the combobox sort of 'autocomplete the sheet name.

Once you have the one you want press a command button.
UFGotoSheet.xlsm
0
 

Author Comment

by:RWayneH
ID: 37842851
THANKS!!  I like the first userform example, because it allow you to see the different sheet as you are typing them in.  It would be nice if when I press enter that it goes to the sheet instead on having to use the mouse..  -R-
0
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 
LVL 33

Expert Comment

by:Norie
ID: 37842903
You can do that by setting the Default value of the command button to True.

Kris

When I tried your workbook the combobox seemed to get 'stuck' sometimes.
0
 

Author Comment

by:RWayneH
ID: 37842920
I noticed that too, but it appeared to get stuck only when you have reached a sheet tab name limit..  and you begin typing in a invalid sheet name..  Now I am liking the second example.

heck, I like them both.  Thanks for the two examples!!  -R-
0
 

Author Closing Comment

by:RWayneH
ID: 37842928
Thanks for the help!!
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
How to quickly and accurately populate Word documents with Excel data, charts and images (including Automated Bookmark generation) David Miller (dlmille) Synopsis In this article you’ll learn how to use ExcelToWord! to copy data,charts, shapes …
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now