LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default find and delete text, find a 10-digit number and put it in a textbox

It actually didn't take too long to find a solution myself. Sorry!

My own solution:

If IsNumeric(Right(TextBox2.Text, 11)) Then
TextBox3.Value = Right(TextBox2.Text, 11)
TextBox2.Value = Application.Substitute(TextBox2.Text,
Right(TextBox2.Text, 11), "")
End If
 
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
In Excel find 5 digit number and replace with leading zero CDPalmer Excel Discussion (Misc queries) 2 September 11th 09 11:18 PM
Find the First Digit in a Text String Thomas M. Charts and Charting in Excel 10 May 6th 09 10:56 PM
how can i find samelest number and delete them ghost Excel Discussion (Misc queries) 4 January 31st 07 09:36 PM
How or where do I find my 25 digit license number teacher version Barbara New Users to Excel 4 December 5th 06 07:53 PM
How to find the lowest number of a row and delete it automatically awinslow Excel Discussion (Misc queries) 1 October 10th 06 01:20 AM


All times are GMT +1. The time now is 03:37 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"