Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
loop in a textbox
Hi
Is there any way of looping through each character in a text box? I've got as far as Dim i as integer For i = 0 to Textbox1.textlength next but I'm not sure how to reference a character in the textbox. Thanks |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
loop in a textbox
For i = 1 To Len(Textbox1.Text) thisChar = Mid(TextBox1.Text,i,1) ... now you can process thisChar Next i -- HTH Bob Phillips ... looking out across Poole Harbour to the Purbecks (remove nothere from the email address if mailing direct) "libby" wrote in message ... Hi Is there any way of looping through each character in a text box? I've got as far as Dim i as integer For i = 0 to Textbox1.textlength next but I'm not sure how to reference a character in the textbox. Thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Find loop doesn't loop | Excel Discussion (Misc queries) | |||
Calculate Textbox value based on another textbox value.doc | Excel Discussion (Misc queries) | |||
Calculate Textbox value based on another textbox value | Excel Discussion (Misc queries) | |||
HELP!!!! Can't stop a loop (NOT an infinite loop) | Excel Programming | |||
UserForm TextBox to ActiveSheet TextBox over 256 characters | Excel Programming |