[mso] Re: Excel menu option validation- Option code only?

I see.  That means that the vet is going to have to be very familiar with 
the single-letter abbreviations.  Might as well just have her enter or 
select the single letter, and use validation as needed to ensure it's one of 
the valid choices.

Also, though, have a look at a control toolbox item.  I think (and this is 
certainly not verified) that you can put the select on top of the cell it 
changes and that you can also tell Excel not to print the toolbox item.  So, 
you could have the control show the whole details, but only print the 
underlying cell.

It's easy enough to get the control to show both but insert one.  Just give 
it a two-column-wide area containing the list of items, and one of the 
properties allows you to select which of the columns is stored.

OK just having a bit of a play ...

G2   Prescription
H2   P
G3   Diagnosis
H3   D

Control toolbox combo box sitting on top of C5.

Properties of the combo box:

BoundColumn 2
ColumnCount 1
LinkedCell C5
ListFillRange G2:H3
PrintObject False

This only shows Prescription / Diagnosis in the combo box, then puts P / D 
in the cell and that's what will get printed.

You can get the combo box to show "Prescription P" by setting ColumnCount to 
2, but it needs a quite wide combo box to do it.  You can also get "P 
Prescription" by swapping the order of the G and H columns and changing 
BoundColumn to 1.

Regards, Dave S
----- Original Message ----- 
From: "Robert Carneal" <carnealre@xxxxxxxxxxxx>
To: <mso@xxxxxxxxxxxxx>
Sent: Monday, May 29, 2006 3:06 AM
Subject: [mso] Re: Excel menu option validation- Option code only?


> -Emphasis-
> Why do you need just the single letter?
> -End-
>
> Well, *I* print this on legal size paper and have plenty of room. 
> However,
> the vet wants +everything+ letter size so it fits her filing cabinet. I 
> was
> asked to shrink it without loss of data. Abbreviating a lot of this seemed
> to be the best route to go.
>
> Robert
>
>
> -----Original Message-----
> From: mso-bounce@xxxxxxxxxxxxx [mailto:mso-bounce@xxxxxxxxxxxxx]On Behalf 
> Of
> David Smart
> Sent: 2006-05-28 11:43
> To: mso@xxxxxxxxxxxxx
> Subject: [mso] Re: Excel menu option validation- Option code only?
>
> I doubt that a validation list can do this - it really is just a way to
> select values for the cell.
>
> You can set up a list control that will show both of them but only store 
> one
> in its linked cell, but that cell is separate to where the list itself is.
>
> Why do you need just the single letter?
>
> Regards, Dave S
> ----- Original Message -----
> From: "Robert Carneal" <carnealre@xxxxxxxxxxxx>
> To: <mso@xxxxxxxxxxxxx>
> Sent: Monday, May 29, 2006 1:09 AM
> Subject: [mso] Excel menu option validation- Option code only?
>
>
>> Excel 2000, Windows XP SP2
>>
>> Hello all.  To simplify things, I wanted to be able to select a "code"
>> from
>> a drop down list in Excel. Suppose I have the following options:
>>
>> D. Diagnosis
>> P. Prescription
>>
>> I have more options, but two is plenty for my question here. No problem 
>> to
>> make the list.  What I only want entered in the cell is the letter on the
>> left, that is, "D" for Diagnosis, "P" for Prescription, etc. My book
>> doesn't
>> explain how to make a drop down list but enter something +else+ instead.
>>
>> In cell F2, if the user selects Diagnosis, I only want a capitalized "D"
>> to
>> go in that cell. Does this involve using two lists in validation in some
>> way? I am not sure how to do this one.
>>
>> I thought I could resolve with INDIRECT, but that didn't do what I was
>> hoping for. Any suggestions?
>>
>> Thank you.
>>
>> Robert
>>
>> *************************************************************
>> You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx 
>> or
>> MicrosoftOffice@xxxxxxxxxxxxxxxx
>>
>> To send mail to the group, simply address it to mso@xxxxxxxxxxxxx
>>
>> To Unsubscribe from this group, visit the group's homepage and use the
>> dropdown menu at the top.  This will allow you to unsubscribe your email
>> address or change your email settings to digest or vacation (no mail).
>> http://www.freelists.org/webpage/mso
>>
>> To be able to use the files section for sharing files with the group, 
>> send
>> a request to mso-moderators@xxxxxxxxxxxxx and you will be sent an
>> invitation with instructions.  Once you are a member of the files group,
>> you can go here to upload/download files:
>> http://www.smartgroups.com/vault/msofiles
>>
>> If you are using Outlook and you see a lot of unnecessary code in your
>> email messages, read these instructions that explain why and how to fix
>> it:
>> http://personal-computer-tutor.com/abc3/v28/greg28.htm
>> *************************************************************
>>
>
> *************************************************************
> You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or
> MicrosoftOffice@xxxxxxxxxxxxxxxx
>
> To send mail to the group, simply address it to mso@xxxxxxxxxxxxx
>
> To Unsubscribe from this group, visit the group's homepage and use the
> dropdown menu at the top.  This will allow you to unsubscribe your email
> address or change your email settings to digest or vacation (no mail).
> http://www.freelists.org/webpage/mso
>
> To be able to use the files section for sharing files with the group, send 
> a
> request to mso-moderators@xxxxxxxxxxxxx and you will be sent an invitation
> with instructions.  Once you are a member of the files group, you can go
> here to upload/download files:
> http://www.smartgroups.com/vault/msofiles
>
> If you are using Outlook and you see a lot of unnecessary code in your 
> email
> messages, read these instructions that explain why and how to fix it:
> http://personal-computer-tutor.com/abc3/v28/greg28.htm
> *************************************************************
>
> *************************************************************
> You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or 
> MicrosoftOffice@xxxxxxxxxxxxxxxx
>
> To send mail to the group, simply address it to mso@xxxxxxxxxxxxx
>
> To Unsubscribe from this group, visit the group's homepage and use the 
> dropdown menu at the top.  This will allow you to unsubscribe your email 
> address or change your email settings to digest or vacation (no mail).
> http://www.freelists.org/webpage/mso
>
> To be able to use the files section for sharing files with the group, send 
> a request to mso-moderators@xxxxxxxxxxxxx and you will be sent an 
> invitation with instructions.  Once you are a member of the files group, 
> you can go here to upload/download files:
> http://www.smartgroups.com/vault/msofiles
>
> If you are using Outlook and you see a lot of unnecessary code in your 
> email messages, read these instructions that explain why and how to fix 
> it:
> http://personal-computer-tutor.com/abc3/v28/greg28.htm
> *************************************************************
> 

*************************************************************
You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or 
MicrosoftOffice@xxxxxxxxxxxxxxxx

To send mail to the group, simply address it to mso@xxxxxxxxxxxxx

To Unsubscribe from this group, visit the group's homepage and use the dropdown 
menu at the top.  This will allow you to unsubscribe your email address or 
change your email settings to digest or vacation (no mail).
http://www.freelists.org/webpage/mso

To be able to use the files section for sharing files with the group, send a 
request to mso-moderators@xxxxxxxxxxxxx and you will be sent an invitation with 
instructions.  Once you are a member of the files group, you can go here to 
upload/download files:
http://www.smartgroups.com/vault/msofiles

If you are using Outlook and you see a lot of unnecessary code in your email 
messages, read these instructions that explain why and how to fix it:
http://personal-computer-tutor.com/abc3/v28/greg28.htm
*************************************************************

Other related posts: