Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
On Thu, 20 Mar 2008 12:11:08 -0700, FiluDlidu
wrote: Hi all, I would like to know if there is any easy way to filter out the letters off a reference. If A1 contains... aBcD123e-FgH 45i& I would like a formula that would return the following in B1: 123- 45& Any idea??? Thanks in advance for any thinking (even fruitless), comments and answers, Félix Somewhat different approach to remove the letters: ============================ Option Explicit Function RemAlpha(str As String) As String Dim re As Object Set re = CreateObject("vbscript.regexp") re.Global = True re.Pattern = "[A-Za-z]+" RemAlpha = re.Replace(str, "") End Function ============================ --ron |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Remove any letter from a referenced cell | Excel Discussion (Misc queries) | |||
Formula to remove a letter from one cell to another | Excel Discussion (Misc queries) | |||
remove first letter | Excel Worksheet Functions | |||
The absolute referenced cell does not move when source cell moves | Excel Worksheet Functions | |||
How do I double click a cell and jump to cell's referenced cell | Excel Discussion (Misc queries) |