Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Chopchop
 
Posts: n/a
Default dropdownlist- I want user to choose a # but can I add definition

I'm creating a form in excel and have inserted a dropdown list. The form is
for beginner excel users to use. I want the user to choose one of the
numeric choices in the dropdown list and then that number will be added to
the cel. But, I want the user to see the definition of the number when
he/she chooses it. But I don't want the definition to be put into the cel.
Is there a way to do this?
  #2   Report Post  
abcd
 
Posts: n/a
Default

different ways to do this:
first of all, remember you know (easy) the number of the choosen item.
But then you can do what you want with it no-one make you put this exact
value into a cell
so you can use any "select case" or "if then else" syntax to make your
action

In your case, I suppose a way could be formating your dropdownlist :
example

01 - first choice
...
12 - last choice

and then just take the 2 first characters from the choosen string
with left(choice$,2)
if you can make it this way it's very simple.

  #3   Report Post  
chopchop
 
Posts: n/a
Default

I guess I need a little more education how to create the if then else syntax
or the chosen string.

"abcd" wrote:

different ways to do this:
first of all, remember you know (easy) the number of the choosen item.
But then you can do what you want with it no-one make you put this exact
value into a cell
so you can use any "select case" or "if then else" syntax to make your
action

In your case, I suppose a way could be formating your dropdownlist :
example

01 - first choice
...
12 - last choice

and then just take the 2 first characters from the choosen string
with left(choice$,2)
if you can make it this way it's very simple.


  #4   Report Post  
abcd
 
Posts: n/a
Default

ok, so you mean you need first to learn how to do this :
so maybe it's better to try this first without vba:

in A1 put "01 - first choice"
in A2 put LEFT(A1,2)

here it is, and i thing you do not need more.

so, if in A1 there's a dropdown list of choices (see this post if you
need more data

)

if you are making the list of choice in vba, I suppose you know how to
do this and you can use the same in left function (also available in vba
code)


  #5   Report Post  
chopchop
 
Posts: n/a
Default

Thank you. At this point I think I could have paid someone to create this
form as many hours as I have spent on it. I appreciate your patience.
thanks again

"abcd" wrote:

ok, so you mean you need first to learn how to do this :
so maybe it's better to try this first without vba:

in A1 put "01 - first choice"
in A2 put LEFT(A1,2)

here it is, and i thing you do not need more.

so, if in A1 there's a dropdown list of choices (see this post if you
need more data

)

if you are making the list of choice in vba, I suppose you know how to
do this and you can use the same in left function (also available in vba
code)





  #6   Report Post  
abcd
 
Posts: n/a
Default

if you mean to give me money , it's ok for me ;)
  #7   Report Post  
chopchop
 
Posts: n/a
Default

Seriously, I've spent the last several hours trying to get this form created
and frankly I'm not even close. I'm sure there is someone that could do it
easily. Have a good day. I still don't have it figured out!

"abcd" wrote:

if you mean to give me money , it's ok for me ;)

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
User forms "back" buttons DavidObeid Excel Discussion (Misc queries) 1 June 22nd 05 09:07 AM
Finding a record based on user input Soundman Excel Discussion (Misc queries) 5 June 21st 05 03:06 AM
Positioning 2 User Forms mully New Users to Excel 3 June 11th 05 08:15 PM
Default User Defined Functions - How? flycast Excel Discussion (Misc queries) 4 May 26th 05 04:26 AM
Excel user management CTE Excel Discussion (Misc queries) 1 February 22nd 05 12:12 PM


All times are GMT +1. The time now is 05:57 AM.

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"