Avatar of ADRIANA P
ADRIANA PFlag for United States of America

asked on 

look up for key in 4N Fkey

4n wFkeys to add Lookup for vertically WTP
29219434 (1).xlsb

as we did here :https://www.experts-exchange.com/questions/29217266/look-up-for-key-in-4N.html

but now for fkeys sheet  

will need do for Vertically WK TOP NUM


as shows the pic

User generated image
VBAMicrosoft ExcelMicrosoft Office

Avatar of undefined
Last Comment
ADRIANA P
Avatar of Martin Liss
Martin Liss
Flag of United States of America image

It looks like you manually added the formulas in column L on the FKEYS sheet. That won't work because when you do a Replace all the cells are cleared.
Avatar of ADRIANA P
ADRIANA P
Flag of United States of America image

ASKER

what is your recommendation to improve??
Avatar of Martin Liss
Martin Liss
Flag of United States of America image

I'll do it in the code just like I did for column G.
Avatar of ADRIANA P
ADRIANA P
Flag of United States of America image

ASKER

:)
Avatar of Martin Liss
Martin Liss
Flag of United States of America image

as we did here :https://www.experts-exchange.com/questions/29217266/look-up-for-key-in-4N.html
Which worksheet in that workbook are you referring to?
Avatar of ADRIANA P
ADRIANA P
Flag of United States of America image

ASKER

we did ByPlay   select TK   select  LK  buttons
Avatar of Martin Liss
Martin Liss
Flag of United States of America image

In the BYPLAY sheet when you click Select TK you see something like this which shows the week and the key side by side.
User generated imageThat works because there is a one to one relationship between the week and the key. In the FKEYS sheet there are up to 10 (horizontal)  keys in each week so what do you want to see in the userform?

En la hoja BYPLAY, cuando hace clic en Seleccionar TK, verá algo como esto que muestra la semana y la clave una al lado de la otra.

Eso funciona porque hay una relación uno a uno entre la semana y la clave. En la hoja FKEYS hay hasta 10 teclas (horizontales) en cada semana, entonces, ¿qué desea ver en el formulario de usuario?
Avatar of ADRIANA P
ADRIANA P
Flag of United States of America image

ASKER

I am interested in seeing the keys
It will help me to have some type of txtbox where I can write the numbers and they appear drawn in ascending order
Avatar of Martin Liss
Martin Liss
Flag of United States of America image

Are you saying that it's okay not to show the week and that all you need to see are the keys in ascending order?
Avatar of ADRIANA P
ADRIANA P
Flag of United States of America image

ASKER

I want to say the txbox that appears as I write would help me
and / or select them in an ascending sort list box

both options together

Avatar of Martin Liss
Martin Liss
Flag of United States of America image

I don't know what that means
Avatar of ADRIANA P
ADRIANA P
Flag of United States of America image

ASKER

can be the keys alone sort ascending
in an list box


 
once you made a listbox and a text box
and I could write in the txt box the numbers and in the list box they appeared

Avatar of Martin Liss
Martin Liss
Flag of United States of America image

can be the keys alone sort ascending
in an list box
So just like my picture but without the Week column, correct?

and I could write in the txt box the numbers and in the list box they appeared
I don't know what that means.
Avatar of ADRIANA P
ADRIANA P
Flag of United States of America image

ASKER

So just like my picture but without the Week column, correct?

yes
Avatar of ADRIANA P
ADRIANA P
Flag of United States of America image

ASKER

can be added to text box so i can query the list box
as i enter the values needed??
Avatar of Martin Liss
Martin Liss
Flag of United States of America image

Sorry but I still don't understand. Are you trying to say that you want to be able to select more than one key?
Avatar of ADRIANA P
ADRIANA P
Flag of United States of America image

ASKER

like this

User generated image
Avatar of ADRIANA P
ADRIANA P
Flag of United States of America image

ASKER

need the file?

Avatar of Martin Liss
Martin Liss
Flag of United States of America image

I know we've done that before, but why do you want to be able to write in values (which given the length of the keys is error-prone) when you can just select as many as you want?

Sé que lo hemos hecho antes, pero ¿por qué quiere poder escribir valores (que dada la longitud de las claves es propenso a errores) cuando puede seleccionar tantos como desee?
Avatar of ADRIANA P
ADRIANA P
Flag of United States of America image

ASKER

I do not want to write them as such, but according to what appears in the list

I do it like this because there may be similar and not exact values at the moment and so I can capture them

so give the 2 options
the listbox and query with txtbox
Avatar of Martin Liss
Martin Liss
Flag of United States of America image

Please give me an example of what you would but in the textbox.
Avatar of ADRIANA P
ADRIANA P
Flag of United States of America image

ASKER

9853764210


Avatar of ADRIANA P
ADRIANA P
Flag of United States of America image

ASKER

sometimes the exact number is not there
but let's say the first 7 are similar

That allows me to call all those who have the first 7 similar

it's an example
Avatar of Martin Liss
Martin Liss
Flag of United States of America image

Okay I finally think I understand. If you type for example 985 into the textbox you want to see all that begin with 985. Or maybe you want to see all that contain 985?
Avatar of ADRIANA P
ADRIANA P
Flag of United States of America image

ASKER

I finally think I understand. If you type for example 985 into the textbox you want to see all that begin with 985

yes the exact order  same digits this is my primary way to find an similar

but

Or maybe you want to see all that contain 985?

if this can be an option in any case is needed
is welcome but as an second option if possible



Avatar of Martin Liss
Martin Liss
Flag of United States of America image

Okay please attach the workbook that has userform in your picture.
Avatar of Martin Liss
Martin Liss
Flag of United States of America image

The attached workbook is a test of the new userform so please click the 'Select TK' button on worksheet FKEYS. In the userform there are several things you can do:
  • Select one or more keys from the listbox and then click the 'OK' button. Currently when you do that all that will happen is that you will see a test message.
  • Enter one partial key in the text box. If 'Match first digits' is selected then all the keys that begin with the key you entered will appear in the listbox and you can select one or more of them. If 'Match digits' is selected then all the keys that contain the key you entered will appear in the listbox and you can select one or more of them.
  • If you click the 'Clear Search' button the complete list will appear.

El libro de trabajo adjunto es una prueba del nuevo formulario de usuario, así que haga clic en el botón 'Select TK' en la hoja de trabajo FKEYS. En el formulario de usuario hay varias cosas que puede hacer:
  • Seleccione una o más claves del cuadro de lista y luego haga clic en el botón 'OK'. Actualmente, cuando hagas eso, todo lo que sucederá es que verás un mensaje de prueba.
  • Ingrese una clave parcial en el cuadro de texto. Si se selecciona 'Match first digits', todas las claves que comienzan con la clave que ingresó aparecerán en el cuadro de lista y podrá seleccionar una o más de ellas. Si se selecciona 'Match digits', todas las claves que contienen la clave que ingresó aparecerán en el cuadro de lista y podrá seleccionar una o más de ellas.
  • Si hace clic en el botón 'Clear Search', aparecerá la lista completa.
29219491.xlsb
Avatar of ADRIANA P
ADRIANA P
Flag of United States of America image

ASKER

Looking Good!!
ASKER CERTIFIED SOLUTION
Avatar of Martin Liss
Martin Liss
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of ADRIANA P
ADRIANA P
Flag of United States of America image

ASKER

sorry is not working
Avatar of ADRIANA P
ADRIANA P
Flag of United States of America image

ASKER

when i type any digit is not looking for

in the txtbox

only when i selct it fromthe list





Avatar of ADRIANA P
ADRIANA P
Flag of United States of America image

ASKER

i find 2 of 44444444444
but in FK_WKT_VER  shows only one

User generated image
Avatar of Martin Liss
Martin Liss
Flag of United States of America image

  1. Type in the digit(s)
  2. Select either 'Match first digits' or 'Match digits'
  3. Click 'Search'
  4. Select key(s) from list
  5. Click 'OK'
Avatar of ADRIANA P
ADRIANA P
Flag of United States of America image

ASKER

ok i see
is working as you say
Avatar of ADRIANA P
ADRIANA P
Flag of United States of America image

ASKER

Great JOB !Best Expert
Avatar of ADRIANA P
ADRIANA P
Flag of United States of America image

ASKER

will need the same but for the other column  

WKT Vertically
Avatar of ADRIANA P
ADRIANA P
Flag of United States of America image

ASKER

is the other column 
Avatar of Martin Liss
Martin Liss
Flag of United States of America image

The keys in the list were being sorted as numbers which made parts of the list look like they were out of order. This sorts the list as text.
29219491b.xlsb
Avatar of Martin Liss
Martin Liss
Flag of United States of America image

And with the new sort you don't necessarily have to enter anything in the textbox, just scroll down the list until you see 44444444444, select it and click OK.

Y con el nuevo orden, no necesariamente tiene que ingresar nada en el cuadro de texto, simplemente desplácese hacia abajo en la lista hasta que vea 44444444444, selecciónelo y haga clic en OK.
Avatar of ADRIANA P
ADRIANA P
Flag of United States of America image

ASKER

The keys in the list were being sorted as numbers which made parts of the list look like they were out of order. This sorts the list as text. 

so it looks more beautiful and practical
Avatar of ADRIANA P
ADRIANA P
Flag of United States of America image

ASKER

is working as needed
Avatar of ADRIANA P
ADRIANA P
Flag of United States of America image

ASKER

need do the other column 
Avatar of ADRIANA P
ADRIANA P
Flag of United States of America image

ASKER

 
Microsoft Excel
Microsoft Excel

Microsoft Excel topics include formulas, formatting, VBA macros and user-defined functions, and everything else related to the spreadsheet user interface, including error messages.

144K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo