Additonal functionality after item select from list box

Posted on 2013-12-24
Last Modified: 2013-12-24
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.
Question by:Frank Freese
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 5
LVL 47

Expert Comment

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

Accepted Solution

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.

Author Comment

by:Frank Freese
ID: 39738360
I do not see a sheet named ConvertInvalid? Honestly
I have a command button named ConvertInvalid
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

LVL 47

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.

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.
LVL 47

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

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.
LVL 47

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.


Author Comment

by:Frank Freese
ID: 39738615
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.

Author Closing Comment

by:Frank Freese
ID: 39738619
Great job!

Featured Post

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

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

Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
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…

752 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