Solved

Additonal functionality after item select from list box

Posted on 2013-12-24
10
246 Views
Last Modified: 2013-12-24
Folks,
The atatched workbook is large, but what I need is an additional functionalty.
When the workbook opens you will see in the Menu tab with two list boxes and a text box titled Category, Topic and Description. Once a Category is selected I can then select a Topic. When a Topic has been select then the Description box is populated.
When a Topic has been selected there is a command button labeld Go To Selection that is enable and a yellow ====> points to the row of the under the heading of Formula and Function as well as Purpose.
The user can click on the command button, the formual and function topic and purpose and go directly to the worksheet. I did not write any of that code but I have tried to work through it to add an additional functionality.
Here's my need. In the beginning a Category is first selected then a Topic. I'd like to have the user double click on the Topic selected to take them to that worksheet while maintaining the Go To Selection, Formula and Function and Purpose to go to the worksheet.
This addition is a lot to ask but I have tried on my own only to fail.
Thanks for you help here.
Excel-Formulas-and-Functions.xlsm
0
Comment
Question by:Frank Freese
  • 5
  • 5
10 Comments
 
LVL 46

Expert Comment

by:Martin Liss
ID: 39738253
Let's see if I can help.
0
 
LVL 46

Accepted Solution

by:
Martin Liss earned 500 total points
ID: 39738326
Add this to the ConvertInvalid sheet.

Private Sub lstTopic_DblClick(ByVal Cancel As MSForms.ReturnBoolean)
GoToSelection = True
End Sub

Open in new window


Is that what you want?

BTW, I would defiantly change the name of that sheet from ConvertInvalid to something else since it doesn't convert anything.
0
 

Author Comment

by:Frank Freese
ID: 39738360
I do not see a sheet named ConvertInvalid? Honestly
I have a command button named ConvertInvalid
0
ScreenConnect 6.0 Free Trial

Want empowering updates? You're in the right place! Discover new features in ScreenConnect 6.0, based on partner feedback, to keep you business operating smoothly and optimally (the way it should be). Explore all of the extras and enhancements for yourself!

 
LVL 46

Expert Comment

by:Martin Liss
ID: 39738368
ConvertInvalid is the first one in the list and it's the one that says "Menu".

Let me make another suggestion. You have over 100 userforms in the workbook and most (maybe all) of them are pretty much the same except for the contents of Textbox1. Why not just have one userform in which you change the text of textbox1 depending on what you want to show? If you did that I bet your workbook would be smaller.

If you want help in doing that, please create another question.
0
 

Author Comment

by:Frank Freese
ID: 39738400
I guess this is another of my senior moments but the workbook I have has no sheet named ConvertInvalid. Did you look at the one I attached?

I'd be interested in opening another question regarding my userforms also. I have many more user forms to create and at one time was wondering if there could be a better way. I'm going through each sheet now and making final changes so this would be a good time to try this.

Back to my question here. Do you remember when asked if I'd like for the user to not only open the worksheet with the command button "Go To Selection" but also to the right of the yellow ====> they could also open the select sheet?
What I was wondering was in the very beginning on the "Menu" tab in the list box under Topics that if a user double clicked on the topic it would also send them directly to the worksheet. I don't think the solution presented is what I am looking for.
0
 
LVL 46

Expert Comment

by:Martin Liss
ID: 39738498
Take a look here. I'm going out for a couple of hours and will get back to you about the rest.
ConvertInvalid sheet
0
 

Author Comment

by:Frank Freese
ID: 39738515
Wow! Must be these eyes. I did change the name to MainMenu from ConvertInvalid which make more sense. I have learned so much on this project that I'll have a different approach next time. Everyone at EE has been so kind and helpful.
0
 
LVL 46

Expert Comment

by:Martin Liss
ID: 39738578
If you mean this list then if you put my code in that hard to find but newly renamed sheet, and you double-click one of the entries then you'll be taken directly to the appropriate sheet.

lstTopic
0
 

Author Comment

by:Frank Freese
ID: 39738615
Martin,
Merry Christmas! You "da man"!
Fantastic and many thanks.
Being Christmas eve I'll follow-up with simplfying my user forms that you suggested. The smaller the file the better.
I've deleted a lot I won't need going forward but there's a lot left to do.
I'll also be posting a problem that I have with the Search routine on the "Menu" tab and the error I keep getting when I locate a protected worksheet as a separate question also.
Wife needs "kitchen" help and this is my last time to be nice and not naughty.
0
 

Author Closing Comment

by:Frank Freese
ID: 39738619
Great job!
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Excel 2013: Default workbook 13 29
Excel formula Sumif not working 4 28
VBA Works in Excel 2010 Not 2016 Help! 5 18
Select Next Route by Time 4 19
A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
Introduction While answering a recent question (http:/Q_27311462.html), I created an alternative function to the Excel Concatenate() function that you might find useful.  I tested several solutions and share the results in this article as well as t…
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

770 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