Configurar celda para un solo caracter

reds

New Member
Joined
Jul 14, 2002
Messages
11
Cómo puedo hacer para configurar un grupo de celdas en el cual quiero que solamente aparezca un caracter (un número). Que al teclear por ejemplo 358 cada uno quede en una celda |3|5|8|. Diganme si es posible darle ese formato a una celda, sólo un caracter y como se hace.
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
Puedes limitar el numero de carateres mediante: Datos->Validacion

Longitud del Texto
igual a
1
 
Upvote 0
Eso lo vi que puedo hacerlo, pero me gustaria que al teclear varios numeros queden uno en cada celda, si hago la validacion esa y tecleo por ejemplo 358, este numero queda en la celda y despues manda error. Jejeje quizas este pidiendo mucho para el excel. Si se hace muy complicado bueno mejor lo sigo haciendo manualmente como hago :)
 
Upvote 0
Esto se puede hacer con un macro, pero puede ser peligroso, porque utilizaría el evento Change() de la hoja, para que cada vez que se ingrese un dato a la hoja lo "parta" en las celdas que sean necesarias, lo que puede incluir borrar algunas que estén a la derecha...
 
Upvote 0
por que no pruebas con un imputbox

Sub partir()
Dim Texto As String
Dim i, n, num As Integer
Texto = InputBox("Introducir un valor ", "Entrada de datos ")
i = Len(Texto)
For n = 1 To i
num = Mid(Texto, n, 1)
Worksheets(4).Cells(1, n).Value = num
Next
End Sub

suerte

FB
 
Upvote 0

Forum statistics

Threads
1,216,743
Messages
6,132,459
Members
449,729
Latest member
davelevnt

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top