Use this

 

Function GetNumber(rngData As Range) As String

    Dim intI As Integer

    For intI = 1 To Len(rngData.Value)

        If Mid(rngData.Value, intI, 1) = "(" Then

            GetNumber = GetNumber & Mid(rngData.Value, intI, 5)

        End If

    Next intI

End Function

 

From: excel-macros@googlegroups.com [mailto:excel-macros@googlegroups.com]
On Behalf Of vijayajith VA
Sent: 25 December 2011 04:23
To: excel-macros@googlegroups.com
Subject: Re: $$Excel-Macros$$ help

 

HI Rajan,

 

Data will be  floo see r eree s seer(A23),seruo serereserrser seeess kke(A89
) =I need A23, A89
                  seruo serereserrser seeess kke(A89)  = A89

                  seruo serereserrser seeess kke(A81)      ==i need A81


seruo serereserrser seeess kke(A89),seruo serereserrser seeess kke(A25)
=A89,A25

On Sun, Dec 25, 2011 at 4:18 PM, vijayajith VA <vijayajith...@gmail.com>
wrote:

Thanks

 

HI Rajan,

 

 

I need only A23,A89 --for 1st one

               S89 for second one

 

Thanks

 

On Sun, Dec 25, 2011 at 3:08 PM, Rajan_Verma <rajanverma1...@gmail.com>
wrote:

What will be your output?

 

From: excel-macros@googlegroups.com [mailto:excel-macros@googlegroups.com]
On Behalf Of vijayajith VA
Sent: 25 December 2011 03:02
To: excel-macros@googlegroups.com
Subject: $$Excel-Macros$$ help

 

Hi ,

 

i have some data like 1) floo see r eree s seer(A23),seruo serereserrser
seeess kke(A89)

                                2) folow re e ser se ser(S89)

 

I want to extract only nos inside the bracket

 

 

please suggest me for some formula or code

 

Thanks

-- 
FORUM RULES (934+ members already BANNED for violation)
 
1) Use concise, accurate thread titles. Poor thread titles, like Please
Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will
not get quick attention or may not be answered.
 
2) Don't post a question in the thread of another member.
 
3) Don't post questions regarding breaking or bypassing any security
measure.
 
4) Acknowledge the responses you receive, good or bad.
 
5) Cross-promotion of, or links to, forums competitive to this forum in
signatures are prohibited. 
 
NOTE : Don't ever post personal or confidential data in a workbook. Forum
owners and members are not responsible for any loss.
 
----------------------------------------------------------------------------
--------------------------
To post to this group, send email to excel-macros@googlegroups.com

-- 
FORUM RULES (934+ members already BANNED for violation)
 
1) Use concise, accurate thread titles. Poor thread titles, like Please
Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will
not get quick attention or may not be answered.
 
2) Don't post a question in the thread of another member.
 
3) Don't post questions regarding breaking or bypassing any security
measure.
 
4) Acknowledge the responses you receive, good or bad.
 
5) Cross-promotion of, or links to, forums competitive to this forum in
signatures are prohibited. 
 
NOTE : Don't ever post personal or confidential data in a workbook. Forum
owners and members are not responsible for any loss.
 
----------------------------------------------------------------------------
--------------------------
To post to this group, send email to excel-macros@googlegroups.com

 

 

-- 
FORUM RULES (934+ members already BANNED for violation)
 
1) Use concise, accurate thread titles. Poor thread titles, like Please
Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will
not get quick attention or may not be answered.
 
2) Don't post a question in the thread of another member.
 
3) Don't post questions regarding breaking or bypassing any security
measure.
 
4) Acknowledge the responses you receive, good or bad.
 
5) Cross-promotion of, or links to, forums competitive to this forum in
signatures are prohibited. 
 
NOTE : Don't ever post personal or confidential data in a workbook. Forum
owners and members are not responsible for any loss.
 
----------------------------------------------------------------------------
--------------------------
To post to this group, send email to excel-macros@googlegroups.com

-- 
FORUM RULES (934+ members already BANNED for violation)

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.

2) Don't post a question in the thread of another member.

3) Don't post questions regarding breaking or bypassing any security measure.

4) Acknowledge the responses you receive, good or bad.

5)  Cross-promotion of, or links to, forums competitive to this forum in 
signatures are prohibited. 

NOTE  : Don't ever post personal or confidential data in a workbook. Forum 
owners and members are not responsible for any loss.

------------------------------------------------------------------------------------------------------
To post to this group, send email to excel-macros@googlegroups.com

Reply via email to